Skip to content

Commit

Permalink
Added build instructions for installing Babel presets 'env' and 'react'.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratbn committed Jun 24, 2018
1 parent 9d65e39 commit 729c209
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions BUILD_INSTRUCTIONS
Expand Up @@ -37,14 +37,28 @@
...


(7) Bundle / transpile the JavaScript with Webpack for deployment:
(7) Install the Babel preset 'env':

$ npm install babel-preset-env

...


(8) Install the Babel preset 'react':

$ npm install babel-preset-react

...


(9) Bundle / transpile the JavaScript with Webpack for deployment:

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

...


(8) If you want Webpack to auto-bundle your JavaScript whenever any of it changes, issue this command instead:
(10) If you want Webpack to auto-bundle your JavaScript whenever any of it changes, issue this command instead:

$ ./node_modules/webpack/bin/webpack.js --config ./webpack.config.js --watch

Expand Down

0 comments on commit 729c209

Please sign in to comment.