4,461
edits
→Intro to webpack: Installing Babel dependencies |
→Intro to webpack: babel presets |
||
Line 1,730: | Line 1,730: | ||
<source lang="console"> | <source lang="console"> | ||
$ npm install babel-loader @babel/core --save-dev | $ npm install babel-loader @babel/core --save-dev | ||
</source> | |||
Specify Babel presets | |||
<source lang="console"> | |||
$ npm install @babel/preset-env @babel/preset-react --save-dev | |||
</source> | </source> | ||
= React State Management = | = React State Management = |