File tree 2 files changed +10
-11
lines changed
2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 11
11
"babel-cli" : " ^6.24.1" ,
12
12
"babel-core" : " ^6.26.0" ,
13
13
"babel-eslint" : " ^8.2.2" ,
14
- "babel-jest" : " ^22.4.0 " ,
15
- "babel-loader" : " ^7.1.2 " ,
14
+ "babel-jest" : " ^22.4.1 " ,
15
+ "babel-loader" : " ^7.1.4 " ,
16
16
"babel-plugin-transform-object-rest-spread" : " ^6.26.0" ,
17
17
"babel-preset-env" : " ^1.6.1" ,
18
18
"babel-preset-react" : " ^6.24.1" ,
19
19
"css-loader" : " ^0.28.10" ,
20
20
"enzyme" : " ^3.3.0" ,
21
21
"enzyme-adapter-react-16" : " ^1.1.1" ,
22
- "eslint" : " ^4.18.1 " ,
23
- "eslint-loader" : " ^1.9 .0" ,
22
+ "eslint" : " ^4.18.2 " ,
23
+ "eslint-loader" : " ^2.0 .0" ,
24
24
"eslint-plugin-babel" : " ^4.1.2" ,
25
25
"eslint-plugin-react" : " ^7.7.0" ,
26
- "jest" : " ^22.4.0 " ,
26
+ "jest" : " ^22.4.2 " ,
27
27
"path" : " ^0.12.7" ,
28
28
"react" : " ^16.2.0" ,
29
29
"react-dom" : " ^16.2.0" ,
30
- "style-loader" : " ^0.20.2" ,
31
- "webpack" : " ^3.11.0"
30
+ "style-loader" : " ^0.20.3" ,
31
+ "webpack" : " ^4.1.1" ,
32
+ "webpack-cli" : " ^2.0.12"
32
33
},
33
34
"scripts" : {
34
35
"test" : " jest" ,
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ const webpack = require('webpack');
2
2
const path = require ( 'path' ) ;
3
3
4
4
module . exports = {
5
+ mode : 'production' ,
5
6
entry : './src/index.js' ,
6
7
output : {
7
8
path : path . resolve ( __dirname , 'build' ) ,
@@ -36,8 +37,5 @@ module.exports = {
36
37
externals : {
37
38
'react' : 'commonjs react' ,
38
39
'react-dom' : 'commonjs react-dom' ,
39
- } ,
40
- plugins : [
41
- new webpack . optimize . UglifyJsPlugin ( )
42
- ]
40
+ }
43
41
} ;
You can’t perform that action at this time.
0 commit comments