Webpack configuration
Use Webpack to build the JS files from the client code. With this commit, all the client JS code is built using Webpack.
Resulting file is 1.38MB large in production, and takes about 30 seconds to build+minify on my Macbook Pro.
Left to do:
-
Build the CSS files as well as all the other artifacts -
Test it thoroughly. Test on multiple devices. Test with a prefix in the URL. -
More optimizations, such as splitting in chunks. -
UseOn holdbootstrap.native
(https://github.com/thednp/bootstrap.native) to drop the dependency on jQuery. -
Give it a try to spectrum
(http://bgrins.github.io/spectrum/)rc-color-picker
colorpicker to drop the dependency on jQuery. -
Build sprites with webpack
. -
RemoveOn holdc3
/d3
and keep onlydygraphs
(or the contrary, but keep only one graph library).
Closes #607 (closed)
Edited by Phyks