mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 21:20:07 +08:00
feat: debug
This commit is contained in:
parent
fdeba94653
commit
08976624cd
@ -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,
|
||||||
// 压缩代码出现了未知问题导致无法运行,暂时不启用
|
// 压缩代码出现了未知问题导致无法运行,暂时不启用
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user