Fix custom document compilation (#534)
* compile _document using webpack * don't emit the bundle file of _document.js * exclude _document.js from minChunks of CommonsChunkPlugin * handle creation/removal of pages/_document.js * improve path handlings
Showing
| ... | @@ -50,7 +50,6 @@ | ... | @@ -50,7 +50,6 @@ |
| "babel-preset-es2015": "6.18.0", | "babel-preset-es2015": "6.18.0", | ||
| "babel-preset-react": "6.16.0", | "babel-preset-react": "6.16.0", | ||
| "babel-runtime": "6.20.0", | "babel-runtime": "6.20.0", | ||
| "chokidar": "1.6.1", | |||
| "cross-spawn": "5.0.1", | "cross-spawn": "5.0.1", | ||
| "del": "2.2.2", | "del": "2.2.2", | ||
| "friendly-errors-webpack-plugin": "1.1.2", | "friendly-errors-webpack-plugin": "1.1.2", | ||
| ... | ... |
Please
register
or
sign in
to comment