Skip to content
Permalink
Browse files

Modified 'BUILD_INSTRUCTIONS' to use 'npm install'.

  • Loading branch information
maratbn committed Jun 24, 2018
1 parent 6024f17 commit 4010096816b06fd31f301f41d9621104df7141dd
Showing with 4 additions and 46 deletions.
  1. +4 −46 BUILD_INSTRUCTIONS
@@ -23,63 +23,21 @@
3.5.2


(5) Install the version 3 of the Webpack module bundler:
(5) Install the required NPM modules:

$ npm install webpack@webpack-3
$ npm install

...


(6) Install the Babel transpiler 'core' and 'loader':

$ npm install babel-core babel-loader

...


(7) Install the Babel preset 'env':

$ npm install babel-preset-env

...


(8) Install the Babel preset 'react':

$ npm install babel-preset-react

...


(9) Install the NPM module for React:

$ npm install react

...


(10) Install the NPM module for React DOM:

$ npm install react-dom

...


(11) Install the NPM modules for Preact:

$ npm install preact preact-compat

...


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

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

...


(13) If you want Webpack to auto-bundle your JavaScript whenever any of it changes, issue this command instead:
(7) 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 4010096

Please sign in to comment.