Permalink
Browse files

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

  • Loading branch information...
maratbn committed Jun 24, 2018
1 parent 9d65e39 commit 729c209a291867e1e562f2e4311534d32a4b356b
Showing with 16 additions and 2 deletions.
  1. +16 −2 BUILD_INSTRUCTIONS
@@ -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

0 comments on commit 729c209

Please sign in to comment.