File tree Expand file tree Collapse file tree 3 files changed +18
-22
lines changed Expand file tree Collapse file tree 3 files changed +18
-22
lines changed Original file line number Diff line number Diff line change 33 "demo" : " webpack-dev-server --open"
44 },
55 "dependencies" : {
6- "react" : " 16.8.4 " ,
7- "react-dom" : " 16.8.4 "
6+ "react" : " 16.9.0 " ,
7+ "react-dom" : " 16.9.0 "
88 },
99 "devDependencies" : {
10- "@types/node" : " 11.11.3 " ,
11- "@types/react" : " 16.8.8 " ,
12- "@types/react-dom" : " 16.8.2 " ,
13- "css-loader" : " 2.1.1 " ,
10+ "@types/node" : " 12.7.2 " ,
11+ "@types/react" : " 16.9.2 " ,
12+ "@types/react-dom" : " 16.9.0 " ,
13+ "css-loader" : " 3.2.0 " ,
1414 "html-webpack-plugin" : " 3.2.0" ,
1515 "source-map-loader" : " 0.2.4" ,
16- "style-loader" : " 0.23.1 " ,
17- "ts-loader" : " 5.3.3 " ,
18- "typescript" : " 3.3.3333 " ,
19- "webpack" : " 4.29.6 " ,
20- "webpack-cli" : " 3.2.3 " ,
21- "webpack-dev-server" : " 3.2.1 "
16+ "style-loader" : " 1.0.0 " ,
17+ "ts-loader" : " 6.0.4 " ,
18+ "typescript" : " 3.6.2 " ,
19+ "webpack" : " 4.39.3 " ,
20+ "webpack-cli" : " 3.3.7 " ,
21+ "webpack-dev-server" : " 3.8.0 "
2222 }
2323}
Original file line number Diff line number Diff line change 1+ import React from 'react'
2+ import ReactDOM from 'react-dom'
3+
14import Hello from './hello'
2- import * as React from 'react'
3- import * as ReactDOM from 'react-dom'
45
56ReactDOM . render (
6- < Hello /> ,
7- document . body
7+ < Hello /> ,
8+ document . body
89)
Original file line number Diff line number Diff line change 22 "compilerOptions" : {
33 "strict" : true ,
44 "target" : " es6" ,
5- "module" : " amd" ,
6- "noImplicitAny" : true ,
7- "removeComments" : true ,
8- "preserveConstEnums" : true ,
9- "moduleResolution" : " node" ,
10- "sourceMap" : true ,
5+ "module" : " commonjs" ,
116 "jsx" : " react" ,
127 "esModuleInterop" : true ,
138 "allowSyntheticDefaultImports" : true
You can’t perform that action at this time.
0 commit comments