mirror of
https://github.com/RealKai42/qwerty-learner.git
synced 2026-04-05 06:19:08 +08:00
ci: optimize build
This commit is contained in:
@@ -392,8 +392,8 @@ const chinaExam: DictionaryResource[] = [
|
||||
id: 'TOEFL_ZhangHongYan',
|
||||
name: '张红岩的TOEFL词汇书',
|
||||
description: '张红岩的TOEFL词汇书-词以类记',
|
||||
category: '中国考试',
|
||||
tags: ['其他'],
|
||||
category: '国际考试',
|
||||
tags: ['TOEFL'],
|
||||
url: '/dicts/TOEFL_ZhangHongYan.json',
|
||||
length: 4035,
|
||||
language: 'en',
|
||||
|
||||
@@ -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