fix: 移除 fork-ts-checker 插件,修复与 TypeScript 5 的兼容性错误
This commit is contained in:
parent
90a6153776
commit
83731771a1
@ -28,6 +28,11 @@ module.exports = defineConfig({
|
||||
})
|
||||
]
|
||||
},
|
||||
chainWebpack: config => {
|
||||
// fork-ts-checker-webpack-plugin v6 与 TypeScript 5 不兼容(无法覆写只读的 performance.mark)
|
||||
// 类型检查改由 tsc --noEmit 承担
|
||||
config.plugins.delete('fork-ts-checker')
|
||||
},
|
||||
devServer: {
|
||||
port: 8080,
|
||||
proxy: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user