We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a30c1d commit c12a477Copy full SHA for c12a477
website/package.json
@@ -4,7 +4,7 @@
4
"private": true,
5
"scripts": {
6
"dev": "webpack-dev-server --inline",
7
- "build": "npm run clean && webpack",
+ "build": "npm run clean && webpack -p",
8
"clean": "rm -rf build",
9
"start": "npm run build && pushstate-server build/"
10
},
website/webpack.config.js
@@ -29,11 +29,7 @@ module.exports = {
29
baseHref: PROD ? '//reacttraining.github.io/react-router/' : '/',
30
template: 'index.html.ejs'
31
})
32
- ].concat(PROD ? [
33
- new webpack.optimize.DedupePlugin(),
34
- new webpack.optimize.OccurrenceOrderPlugin(),
35
- new webpack.optimize.UglifyJsPlugin()
36
- ] : []),
+ ],
37
38
resolve: {
39
alias: {
0 commit comments