mirror of
https://github.com/RealKai42/qwerty-learner.git
synced 2026-04-05 14:29:04 +08:00
ci: optimize build
This commit is contained in:
@@ -31,7 +31,10 @@ export default defineConfig(async () => {
|
||||
build: {
|
||||
minify: true,
|
||||
outDir: 'build',
|
||||
sourcemap: true,
|
||||
sourcemap: false,
|
||||
},
|
||||
esbuild: {
|
||||
drop: ['console', 'debugger'],
|
||||
},
|
||||
define: {
|
||||
REACT_APP_DEPLOY_ENV: JSON.stringify(process.env.REACT_APP_DEPLOY_ENV),
|
||||
|
||||
Reference in New Issue
Block a user