Merge pull request #267 from ogonkov/patch-1

Fix webpack `DefinePlugin` usage example
This commit is contained in:
Brian Vaughn
2017-11-09 22:45:58 +00:00
committed by GitHub

View File

@@ -147,9 +147,7 @@ For the most efficient webpack production build, make sure to include these plug
```js
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify('production')
}
'process.env.NODE_ENV': JSON.stringify('production')
}),
new webpack.optimize.UglifyJsPlugin()
```