Skip to content

Commit 656d8ce

Browse files
committed
Modified 'BUILD_INSTRUCTIONS' to use 'npm install'.
1 parent 16e283e commit 656d8ce

File tree

1 file changed

+3
-45
lines changed

1 file changed

+3
-45
lines changed

BUILD_INSTRUCTIONS

Lines changed: 3 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -16,56 +16,14 @@
1616
1.3.10
1717

1818

19-
(4) Install the Webpack module bundler:
19+
(4) Install the required NPM modules:
2020

21-
$ npm install webpack
21+
$ npm install
2222

2323
...
2424

2525

26-
(5) Install the Babel transpiler:
27-
28-
$ npm install babel-loader
29-
30-
...
31-
32-
33-
(6) Install the Babel preset 'es2015':
34-
35-
$ npm install babel-preset-es2015
36-
37-
...
38-
39-
40-
(7) Install the Babel preset 'react':
41-
42-
$ npm install babel-preset-react
43-
44-
...
45-
46-
47-
(8) Install the NPM module for React:
48-
49-
$ npm install react
50-
51-
...
52-
53-
54-
(9) Install the NPM module for React DOM:
55-
56-
$ npm install react-dom
57-
58-
...
59-
60-
61-
(10) Install the NPM modules for Preact:
62-
63-
$ npm install preact preact-compat
64-
65-
...
66-
67-
68-
(11) Bundle / transpile the JavaScript with Webpack for deployment:
26+
(5) Bundle / transpile the JavaScript with Webpack for deployment:
6927

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

0 commit comments

Comments
 (0)