vite optimizeDeps
All checks were successful
/ build-and-deploy-to-vercel (push) Successful in 2m49s
/ playwright (push) Successful in 1m13s
/ surge (push) Successful in 2m49s
/ lint-build-and-check (push) Successful in 4m44s

This commit is contained in:
严浩
2025-04-07 10:42:35 +08:00
parent 2721b4c2f3
commit c06cc44cbd
4 changed files with 26 additions and 4 deletions

View File

@ -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({