Skip to content

Commit e3bde61

Browse files
committed
Added build instructions for installing Babel presets 'es2015' and 'react'.
1 parent 1ef8508 commit e3bde61

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

BUILD_INSTRUCTIONS

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,21 @@
3030
...
3131

3232

33-
(6) Bundle / transpile the JavaScript with Webpack for deployment:
33+
(6) Install the Babel preset 'es2015':
34+
35+
$ npm install babel-preset-es2015
36+
37+
...
38+
39+
40+
(7) Install the Babel preset 'react':
41+
42+
$ npm install babel-preset-react
43+
44+
...
45+
46+
47+
(8) Bundle / transpile the JavaScript with Webpack for deployment:
3448

3549
$ ./node_modules/webpack/bin/webpack.js --config ./webpack.config.js
3650

0 commit comments

Comments
 (0)