File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 31
31
uses : cypress-io/github-action@v4
32
32
with :
33
33
build : yarn run build
34
- start : yarn run dev
34
+ start : yarn run prod
35
35
wait-on : " http://localhost:3000"
36
36
browser : chrome
37
37
build-s3 :
Original file line number Diff line number Diff line change 31
31
uses : cypress-io/github-action@v4
32
32
with :
33
33
build : yarn run build
34
- start : yarn run dev
34
+ start : yarn run prod
35
35
wait-on : ' http://localhost:3000'
36
36
browser : chrome
37
37
- name : Upload coverage reports to Codecov
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ module.exports = (env) => {
56
56
} ,
57
57
entry : [ './src/index.tsx' ] ,
58
58
mode : production ? 'production' : 'development' ,
59
- devtool : production ? undefined : 'source-map' ,
59
+ devtool : production ? undefined : 'eval- source-map' ,
60
60
module : {
61
61
rules : rules ,
62
62
} ,
@@ -67,6 +67,12 @@ module.exports = (env) => {
67
67
devServer : {
68
68
port : 3000 ,
69
69
hot : true ,
70
+ compress : true ,
71
+ client : {
72
+ overlay : {
73
+ warnings : false ,
74
+ } ,
75
+ } ,
70
76
} ,
71
77
plugins : production
72
78
? [
You can’t perform that action at this time.
0 commit comments