diff --git a/docs/docs/getting-started.md b/docs/docs/getting-started.md index 14f1363cce..5a388495e3 100644 --- a/docs/docs/getting-started.md +++ b/docs/docs/getting-started.md @@ -27,13 +27,20 @@ ReactDOM.render( ); ``` -To install React DOM and build your bundle after installing browserify: +To install React DOM and build your bundle with browserify: ```sh $ npm install --save react react-dom babelify babel-preset-react $ browserify -t [ babelify --presets [ react ] ] main.js -o bundle.js ``` +To install React DOM and build your bundle with webpack: + +```sh +$ npm install --save react react-dom babel-preset-react +$ webpack +``` + > Note: > > If you are using ES2015, you will want to also use the `babel-preset-es2015` package.