Permalink
Browse files

Modified 'BUILD_INSTRUCTIONS' to use 'npm install'.

  • Loading branch information...
maratbn committed Jun 29, 2018
1 parent 59a92e6 commit 39414a1b8f6329cdbaf613a190579a7fdb8d44ac
Showing with 5 additions and 54 deletions.
  1. +5 −54 BUILD_INSTRUCTIONS
@@ -25,71 +25,22 @@
3.5.2


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

$ npm install webpack@^4.12.1
$ npm install

...


(6) Install the NPM package 'webpack-cli':

$ npm install webpack-cli

...


(7) Install the NPM packages for the Babel transpiler:

$ npm install babel-core babel-loader

...


(8) Install the Babel preset 'env':

$ npm install babel-preset-env

...


(9) Install the Babel preset 'react':

$ npm install babel-preset-react

...


(10) Install the NPM package for React:

$ npm install react

...


(11) Install the NPM package for React DOM:

$ npm install react-dom

...


(12) Install the NPM packages for Preact:

$ npm install preact preact-compat

...


(13) Bundle the JavaScript with Webpack for deployment:
(6) Bundle the JavaScript with Webpack for deployment:

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

...


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

Please sign in to comment.