Vladislav Khikhlov
06/05/2020, 1:30 PMturansky
06/05/2020, 1:50 PMIlya Goncharov [JB]
06/05/2020, 2:53 PMRachid
06/05/2020, 3:17 PMVladislav Khikhlov
06/06/2020, 9:54 AMVladislav Khikhlov
06/08/2020, 10:01 AMIlya Goncharov [JB]
06/08/2020, 10:15 AMkotlin {
target {
browser()
}
}
In this case, in root build
folder, npm project will be initialised.
You are right, that run and webpack tasks are created for all subprojects. It is fixed in going 1.4-Mx
versions
For example in 1.4-M2
, runTask
and webpackTask
are only generated only if you set binaries.executable()
for particular subproject.
You can read more
https://kotlinlang.org/docs/reference/js-project-setup.htmlVladislav Khikhlov
06/08/2020, 10:47 AMVladislav Khikhlov
06/08/2020, 10:48 AMIlya Goncharov [JB]
06/08/2020, 10:50 AMwebpackTask
settings about browserWebpack
which run webpack
runTask
settings about browserRun
which run wrbpack-dev-server
Vladislav Khikhlov
06/08/2020, 10:50 AMIlya Goncharov [JB]
06/08/2020, 10:52 AMwebpack.config.d
like in frontend plugin
But by default, if you don’t change output directory for compile tasks, it should work out-of-box