NW.js + Svelte + webpack + nwjs-builder-phoenix
Svelte is modern JS UI framework, which runs at compile time, not in the browser. It generates JS.
app- root directory for NW.js.app/index.html- default file (entry point) for NW.js.src- application sources.src/index.js- entry point of the app.src/scripts/prepare_dist.js- script to change fieldmaininpackage.jsonin the build.npm startstarts webpack-dev-server and NW.js with it.npm run webpackcalls webpack which compiles all required JS-code (including node modules) toapp/index.jsand all required CSS toapp/styles.css.npm run distcalls webpack and then makes the build to the directorydist.