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 3131 uses : cypress-io/github-action@v4
3232 with :
3333 build : yarn run build
34- start : yarn run dev
34+ start : yarn run prod
3535 wait-on : " http://localhost:3000"
3636 browser : chrome
3737 build-s3 :
Original file line number Diff line number Diff line change 3131 uses : cypress-io/github-action@v4
3232 with :
3333 build : yarn run build
34- start : yarn run dev
34+ start : yarn run prod
3535 wait-on : ' http://localhost:3000'
3636 browser : chrome
3737 - name : Upload coverage reports to Codecov
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ module.exports = (env) => {
5656 } ,
5757 entry : [ './src/index.tsx' ] ,
5858 mode : production ? 'production' : 'development' ,
59- devtool : production ? undefined : 'source-map' ,
59+ devtool : production ? undefined : 'eval- source-map' ,
6060 module : {
6161 rules : rules ,
6262 } ,
@@ -67,6 +67,12 @@ module.exports = (env) => {
6767 devServer : {
6868 port : 3000 ,
6969 hot : true ,
70+ compress : true ,
71+ client : {
72+ overlay : {
73+ warnings : false ,
74+ } ,
75+ } ,
7076 } ,
7177 plugins : production
7278 ? [
You can’t perform that action at this time.
0 commit comments