You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ You can either follow the tutorial below or just jump to the resulting code with
12
12
1. Run command `webpack`
13
13
1. Open `/myapp/dist/index.html`
14
14
15
-
If you find the tutorial helpful, and maybe learned something new, please give it a star [here](https://github.com/jansoren/react-webpack-tutorial).
15
+
If you find the tutorial helpful, and maybe learned something new, please give it a star [here](https://github.com/jansoren/react-webpack-tutorial).
16
16
If you have improvement suggestions please create an issue or a pull request. Enjoy :-)
17
17
18
18
## Tutorial prerequisites
@@ -66,7 +66,7 @@ You have now created an initial [package.json](https://github.com/jansoren/react
66
66
```
67
67
68
68
1. Install React DOM and add it to your package.json file automatically using `npm install --save react react-dom`
69
-
1. Install Babel to transform the content of a .js file from ES6 to ES5 `npm install --save-dev babel-preset-react babel-preset-es2015 babel-loader`
69
+
1. Install Babel to transform the content of a .js file from ES6 to ES5 `npm install --save-dev babel-preset-react babel-preset-es2015 babel-core babel-loader`
70
70
1. In your `webpack.config.js` add the babel-loader that you just installed like this:
0 commit comments