Skip to content

Commit 4aaf4b2

Browse files
committed
back to prod
1 parent bb97da0 commit 4aaf4b2

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/develop-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
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:

.github/workflows/develop-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
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

webpack.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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
? [

0 commit comments

Comments
 (0)