participateapp / web-client

Participate! is an app for democratic decision making
MIT License
6 stars 1 forks source link

Replace webpack with modd (2nd try) #58

Closed ThomasWeiser closed 7 years ago

ThomasWeiser commented 7 years ago

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.

ThomasWeiser commented 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):