Is there an easy to control Kotlin/JS webpack node...
# javascript
d
Is there an easy to control Kotlin/JS webpack node_modules so it is possible to have a hybrid project. Some pages are from
Main.kt
and another page is from
jsMain/resource/js/pageone.js
which can use regular
import ...
and expect the webserver layout to be prepared. The
build/js/node_modules
and the
build/js/packages/project-name/node_modules
are managed differently. Do I need some recepies for
./webpack.config.d/**
for this maybe multiple entrypoints for pages ? Do I really need webpack at all ? I am currently in development / project research mode, so no level of optimisation is required, HMR is desirable (build could easily be simple fsnotify reload the page), RAD (rapid application development) is the focus, builds/reloads within a few seconds is RAD.
t
Do you have tests in project?
d
Not right now, but would like that to be possible after I am out of the current phase of prototype/research/evaluation. But maybe I can separate the pureJS parts into their own project. But at the moment I am trying to understand which parts to use JS/TS and which parts Kotlin/JS