diff --git a/content/docs/optimizing-performance.md b/content/docs/optimizing-performance.md index e4094ece..b6823ed6 100644 --- a/content/docs/optimizing-performance.md +++ b/content/docs/optimizing-performance.md @@ -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() ```