Created by: mxstbr
Ref #183 (closed)
This is a first step towards webpack 2. Everything builds and works just fine.
Build stats:
v1
4.0K build/84287d09b8053c6fa598893b8910786a.svg
28K build/favicon.ico
4.0K build/index.html
140K build/main.c7a1d762a452b452a7e7.js
4.0K build/main.7cbecfc47e1de8546c1a31e27e545145.css
4.0K build/main.7cbecfc47e1de8546c1a31e27e545145.css.map
1.5M build/main.c7a1d762a452b452a7e7.js.map
v2
4.0K build/84287d09b8053c6fa598893b8910786a.svg
28K build/favicon.ico
4.0K build/index.html
140K build/main.3e41bc8b11563538fb8e.js
4.0K build/main.5d2cacffab6444a5357d533f016e1b6d.css
4.0K build/main.5d2cacffab6444a5357d533f016e1b6d.css.map
I think nothing is different because we have to not use babel-plugin-transform-es2015-modules-commonjs
, which is what babel-preset-es2015-webpack
does so we get the benefits of tree shaking.
Annoyingly we're using babel-preset-es2016
, which doesn't have a babel-preset-es2016-webpack
with babel-plugin-transform-es2015-modules-commonjs
removed!
Would appreciate somebody forking babel-preset-es2016
, removing that, publishing it and trying it with this PR!
I'm going to bed now, feel free to continue the work against the webpack-v2
branch!