Moreover, personally I use the following setup: Gradle to build everything for production, (I run webpack from Gradle). IDEA to build during development + webpack running in watch mode, that rebuilds bundle when IDEA updates JS file from Kotlin sources.