How to achieve the same in the new Kotlin/JS plugin?
i
Ilya Goncharov [JB]
12/12/2019, 11:25 AM
If you can set production mode for webpack, you can set it in plain js file in
webpack.config.d
folder
Copy code
config.mode = 'production' // set production mode to webpack
config.devtool = 'source-map' // or even false - it configure source map not to inline into bundle
Since 1.3.70 production and development build will be builtin
You can just run necessary task for development or for production