Closed ThomasWeiser closed 7 years ago
You are right, the webpack configuration works right now and may be easier to kick off because most frontend devs will have installed node and npm anyway. So, let's postpone the question of the best build system to a later time.
As a workaround for the poor formatting of compiler messages there is already a supplemental modd.conf
file, so that modd
can be run alongside webpack just for the compiler messages.
For future reference let me sketch my reflections on that topic so far:
What I don't like about webpack is...
On the contrary, a production build process may profit from webpack's abilities.
Alternatives (for development builds):
modd
& devd
as discussed in this PR and in #33 elm reactor
(not sure if it works currently with out project)tomekwi/elm-live
elm compile
and let them choose a dev server on their own.
Continuing from #33
Reopening this PR, as devd version 0.7 now supports SPA routes.
This way we can cut the whole bloated Node.js/npm machinery.