From 8e6343b5a6992aa0dc9d5efa6d7d2a78a2d85b2f Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 18 May 2019 21:24:51 +1000 Subject: [PATCH] Fix broken webpack production guide link in "Optimizing Performance" page. (#2011) --- content/docs/optimizing-performance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/optimizing-performance.md b/content/docs/optimizing-performance.md index 959332976..fb2aa9dc9 100644 --- a/content/docs/optimizing-performance.md +++ b/content/docs/optimizing-performance.md @@ -153,7 +153,7 @@ new webpack.DefinePlugin({ new webpack.optimize.UglifyJsPlugin() ``` -You can learn more about this in [webpack documentation](https://webpack.js.org/guides/production-build/). +You can learn more about this in [webpack documentation](https://webpack.js.org/guides/production/). Remember that you only need to do this for production builds. You shouldn't apply `UglifyJsPlugin` or `DefinePlugin` with `'production'` value in development because they will hide useful React warnings, and make the builds much slower.