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 Aug 5, 2018
1 parent c4ebaf6 commit 97eaeea
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions BUILD_INSTRUCTIONS
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -46,15 +46,29 @@
... ...




(8) Bundle the JavaScript with Webpack for deployment: (8) Install the Babel preset 'env':

$ npm install babel-preset-env

...


(9) Install the Babel preset 'react':

$ npm install babel-preset-react

...


(10) Bundle the JavaScript with Webpack for deployment:


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


... ...




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


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


Expand Down

0 comments on commit 97eaeea

Please sign in to comment.