Permalink
Browse files

Added build instructions for installing Babel presets 'env' and 'react'.

  • Loading branch information...
maratbn committed Jun 27, 2018
1 parent c4ebaf6 commit 97eaeea0bf803465e8d556a6d9ca1f7e47cfbaf9
Showing with 17 additions and 3 deletions.
  1. +17 −3 BUILD_INSTRUCTIONS
@@ -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

...


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

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

0 comments on commit 97eaeea

Please sign in to comment.