feat: debug
This commit is contained in:
1 parent
5f801a8d04
commit
f65b2be06f
2 files changed
+2
No files matched your search
@@ -20,6 +20,7 @@
|
|||||||
"noUnusedLocals": false,
|
"noUnusedLocals": false,
|
||||||
"noUnusedParameters": false,
|
"noUnusedParameters": false,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
"sourceMap": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@*": [
|
"@*": [
|
||||||
"./src*"
|
"./src*"
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ const baseConfig = (mode: string = 'development') => defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
sourcemap: mode === 'development',
|
||||||
target: 'esnext',
|
target: 'esnext',
|
||||||
// minify: mode === 'production' ? 'esbuild' : false,
|
// minify: mode === 'production' ? 'esbuild' : false,
|
||||||
// 压缩代码出现了未知问题导致无法运行,暂时不启用
|
// 压缩代码出现了未知问题导致无法运行,暂时不启用
|
||||||
|
|||||||
Reference in new issue
Block a user