Commit Graph

3 Commits

Author SHA1 Message Date
Jérémie Astori
d8f1690904 Use Webpack configuration based on NODE_ENV instead of watch/no-watch
Also, move the `DedupePlugin` to the prod-specific section. [Webpack doc](https://webpack.github.io/docs/list-of-plugins.html#dedupeplugin) itself recommends to not run this outside of production.

Note that this currently breaks cross-OS support of `npm run build`. This will be fixed in a latter commit.
2017-01-10 13:07:27 -05:00
Pavel Djundik
a8dd136168 Do not uglify builds when running start-dev 2017-01-10 13:07:27 -05:00
Pavel Djundik
fb87bd3a58 Webpack 2016-12-27 19:15:30 +02:00