File tree Expand file tree Collapse file tree 3 files changed +1946
-135
lines changed Expand file tree Collapse file tree 3 files changed +1946
-135
lines changed Original file line number Diff line number Diff line change 13
13
"version" : " json -I -f assets/manifest.json -e \" this.version='`json -f package.json version`'\" && git add assets/manifest.json" ,
14
14
"package" : " yarn build && web-ext build --source-dir dist --artifacts-dir out --overwrite-dest" ,
15
15
"release" : " webstore upload --source dist --auto-publish" ,
16
- "build" : " webpack" ,
16
+ "build" : " webpack --mode=production " ,
17
17
"watch" : " webpack --watch" ,
18
18
"chrome-open" : " yarn build && yarn chrome-launch --" ,
19
19
"chrome-launch" : " node scripts/chrome-launch.js" ,
37
37
"babel-preset-jest" : " ^22.0.3" ,
38
38
"chrome-launch" : " ^1.1.4" ,
39
39
"chrome-webstore-upload-cli" : " ^1.1.1" ,
40
- "copy-webpack-plugin" : " ^4.1.0 " ,
40
+ "copy-webpack-plugin" : " ^4.4.2 " ,
41
41
"css-loader" : " ^0.28.7" ,
42
42
"eslint" : " ^4.8.0" ,
43
43
"eslint-config-airbnb" : " ^16.0.0" ,
56
56
"sinon" : " ^4.0.1" ,
57
57
"style-loader" : " ^0.19.0" ,
58
58
"web-ext" : " ^2.0.0" ,
59
- "webpack" : " ^3.6.0"
59
+ "webpack" : " ^4.0.1" ,
60
+ "webpack-cli" : " ^2.0.9"
60
61
},
61
62
"optionalDependencies" : {
62
63
"fsevents" : " 1.1.2"
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ const path = require('path');
2
2
const CopyWebpackPlugin = require ( 'copy-webpack-plugin' ) ; // eslint-disable-line
3
3
4
4
module . exports = {
5
+ mode : 'development' ,
5
6
entry : {
6
7
app : './packages/core/app' ,
7
8
background : './packages/core/background/index' ,
You can’t perform that action at this time.
0 commit comments