File tree Expand file tree Collapse file tree 1 file changed +3
-45
lines changed
Expand file tree Collapse file tree 1 file changed +3
-45
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments