From 5e06732b2f7c8eb8bdf8c4765b16fac0fc0e84af Mon Sep 17 00:00:00 2001 From: Oscar Bolmsten Date: Wed, 25 Jan 2017 15:56:52 +0100 Subject: [PATCH] webpack 2 is now stable (#8859) Remove notice about different webpack versions Update webpack URLs (cherry picked from commit c2f94385a14165102c3a5cfaab361ac3fdb9598a) --- docs/_posts/2016-11-16-react-v15.4.0.md | 2 +- docs/docs/installation.md | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/_posts/2016-11-16-react-v15.4.0.md b/docs/_posts/2016-11-16-react-v15.4.0.md index 3051b50db2..d07691a04e 100644 --- a/docs/_posts/2016-11-16-react-v15.4.0.md +++ b/docs/_posts/2016-11-16-react-v15.4.0.md @@ -110,7 +110,7 @@ To install React with npm, run: npm install --save react@15.4.0 react-dom@15.4.0 ``` -We recommend using a bundler like [webpack](https://webpack.github.io/) or [Browserify](http://browserify.org/) so you can write modular code and bundle it together into small packages to optimize load time. +We recommend using a bundler like [webpack](https://webpack.js.org/) or [Browserify](http://browserify.org/) so you can write modular code and bundle it together into small packages to optimize load time. Remember that by default, React runs extra checks and provides helpful warnings in development mode. When deploying your app, make sure to [compile it in production mode](/react/docs/installation.html#development-and-production-versions). diff --git a/docs/docs/installation.md b/docs/docs/installation.md index 1f8b3bc8d9..0bcd9022e5 100644 --- a/docs/docs/installation.md +++ b/docs/docs/installation.md @@ -103,10 +103,6 @@ If you use [Create React App](https://github.com/facebookincubator/create-react- Include both `DefinePlugin` and `UglifyJsPlugin` into your production Webpack configuration as described in [this guide](https://webpack.js.org/guides/production-build/). -> **Note:** -> ->This guide works with Webpack 1.x and 2, but is hosted on the new Webpack 2 site. If you're not using the Webpack 2 beta, refer to the [Webpack 1.x website](https://webpack.github.io/) for all other documentation. - #### Browserify Run Browserify with `NODE_ENV` environment variable set to `production` and use [UglifyJS](https://github.com/mishoo/UglifyJS) as the last build step so that development-only code gets stripped out.