vite optimizeDeps
This commit is contained in:
@ -167,10 +167,9 @@ export function Plugins() {
|
||||
}),
|
||||
|
||||
// https://vite-plugin-checker.netlify.app/introduction/introduction.html
|
||||
// XXX: 配置更多的检查项
|
||||
checker({
|
||||
eslint: {
|
||||
lintCommand: 'eslint ./src',
|
||||
lintCommand: 'eslint "./src/**/*.{js,jsx,ts,tsx,vue}"',
|
||||
useFlatConfig: true,
|
||||
},
|
||||
vueTsc: true,
|
||||
@ -179,6 +178,7 @@ export function Plugins() {
|
||||
},
|
||||
terminal: true,
|
||||
enableBuild: true,
|
||||
// XXX: pnpm add vls vti -D
|
||||
}),
|
||||
|
||||
viteStaticCopy({
|
||||
|
Reference in New Issue
Block a user