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
Robert van Steen 2af4ad8b17 Add dependencies of _app.js to commons (#4396)
Since `_app.js` is used on every page it makes sense to move it's dependencies to the `commons.js` so that if you require a dependency in `_app.js` and in one of your pages it is not included twice in your bundles. 

This PR modifies the `CommonsChunkPlugin` to move every module that is used in `_app.js` and at least in one other bundle.
2018-06-07 13:12:48 +02:00
..
babel Fix dynamic import in non webpack env regression #3345 (#4208) 2018-05-25 15:29:26 +02:00
loaders Remove react-hot-loader (#4500) 2018-05-31 11:47:29 +02:00
plugins Fix generated page chunk when libraryTarget is umd (#4205) 2018-05-25 14:23:44 +02:00
webpack Expose app.js (#4129) 2018-04-12 10:33:22 +02:00
index.js Clean up references to this.dir and this.dist everywhere (#4535) 2018-06-04 15:45:39 +02:00
webpack.js Add dependencies of _app.js to commons (#4396) 2018-06-07 13:12:48 +02:00