Commit graph

9 commits

Author SHA1 Message Date
Pavel Djundik
2cfc9119cb Use babel-preset-env 2017-04-23 10:58:02 +03:00
Jérémie Astori
648cfd12db Use moment on the client to display friendly dates
Also, unread and date markers are now half-transparent based on their colors and not parent opacity. This is necessary to display a non-translucide tooltip.
2017-04-22 00:38:19 -04:00
Jérémie Astori
4363ef4abe Merge pull request #973 from thelounge/xpaw/use-require
Use require() instead of import in client code
2017-03-31 01:41:29 -04:00
Pavel Djundik
9bf1e6e0d5 Do not build json3 module of Webpack 2017-03-30 01:15:44 -04:00
Pavel Djundik
d9358d555f Generate sourcemap in production build
Fixes #974
2017-03-18 16:09:43 +02:00
Pavel Djundik
e0111ed587 Update to webpack 2 2017-02-17 17:06:46 +02:00
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