without the frontend plugin, just using `kotlin("j...
# javascript
n
without the frontend plugin, just using
kotlin("js")
how do i add dev dependencies for using webpack plugins and the like ?
i
Now, there is no possibility to define scope of npm dependency, only regular dependencies We have issue on this https://youtrack.jetbrains.com/issue/KT-32531
n
Only tasks can require 
devDependencies
 for now as it is not clear how to add them to DSL
is there any example on that? i want to use the stuff added to node_modules/.bin/ anyways in tasks
i
You don’t need to declare it as a
devDependency
for
.bin
. It works properly for
dependency
too. If you declare your tool in build script as npm dependenct, executables from this package should appear in
node_modules/.bin