Replace webpack with modd#33
Conversation
Webpack is currently only used for automatically compiling the elm sources and reloading in the browser. The tools modd/devd do the same with much less boilerplate. No need to have the npm machinery. https://github.com/cortesi/modd https://github.com/cortesi/devd Current version v0.6 of devd doesn't support serving SPAs with non-hash-routes. See this related issue: cortesi/devd#38 Since we don't want to use hash-routes, we will not use this modd/devd setup as long as devd doesn't support them.
|
(Prepare to) use modd and devd instead of npm and webpack Webpack is currently only used for automatically compiling the Elm sources and reloading in the browser. The tools modd/devd do the same with much less boilerplate. No need to have the npm machinery. Current version v0.6 of devd doesn't support serving SPAs with non-hash-routes though, which may change in the future. Since we don't want to use hash-routes, we will not use this modd/devd setup as long as devd doesn't support them. So this PR is currently on hold. |
|
Another option to keep in mind would be It's a npm package with a standalone cli tool, much easier to configure than webpack, keeps colors from elm-make out of the box and does hot reloading. Unfortunately it currently has the same restrictions on SPA routing as |
|
Closing this for now. If either |
And while at it, add some installation instructions to the README