1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/server/build
Arunoda Susiripala f3e541fe23 Add support for Webpack 2's tree-shaking (#926)
* Let webpack2 to handle ES2015 module system
Since Node.js can't do that, we need to transpile
ES2015 module system in the emit-file-loader.

* Use sourceMaps only in dev.

* Introduce a transform option to emit-file-loader
So, we can move our ES2015 transpile code with that option.

* Remove unwanted argument options.

* Update comments.

* Use dev flag instead of NODE_ENV
2017-01-31 15:31:27 +09:00
..
babel Add support for Webpack 2's tree-shaking (#926) 2017-01-31 15:31:27 +09:00
loaders Add support for Webpack 2's tree-shaking (#926) 2017-01-31 15:31:27 +09:00
plugins example: fix style 2017-01-15 00:30:39 +09:00
clean.js remove .next before compiling 2016-10-17 12:55:33 +09:00
gzip.js Add Gzip support for JSON pages (#571) 2016-12-31 21:46:23 +09:00
index.js Implement "Immutable build artifacts" feature (#745) 2017-01-11 12:16:18 -08:00
webpack.js Add support for Webpack 2's tree-shaking (#926) 2017-01-31 15:31:27 +09:00