Skip to content

Commit

Permalink
Modified 'BUILD_INSTRUCTIONS' to use 'npm install'.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratbn committed Jun 24, 2018
1 parent 6024f17 commit 4010096
Showing 1 changed file with 4 additions and 46 deletions.
50 changes: 4 additions & 46 deletions BUILD_INSTRUCTIONS
Expand Up @@ -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

Expand Down

0 comments on commit 4010096

Please sign in to comment.