The mode is specified in the arguments for the watcher in config/dev.exs
No. You ideally want anything related to building in your devDependencies. I.e. your node-sass, autoprefixer, etc. should ideally be in devdeps. JQuery is a runtime dependent on your web app (I.e it’s not compiled away) so it should be a regular dep imho.
Erm. No.
You want running npm install to get all your deps. With them not in your package.json that’s not gonna work when you install on a new dev machine or VM, and they won’t be present in your node_modules
I think you should read the getting started of webpack and nodejs package management. It may help.






















