Files
zopu-code/vite.config.ts
2026-07-19 02:46:47 +05:30

39 lines
900 B
TypeScript

import { defineConfig } from "vite-plus";
export default defineConfig({
lint: {
ignorePatterns: [
"node_modules/**",
"**/node_modules/**",
"apps/web/build/**",
"apps/web/.react-router/**",
"apps/native/.expo/**",
"apps/native/dist/**",
"apps/native/web-build/**",
"packages/backend/convex/_generated/**",
],
options: {
typeAware: false,
typeCheck: false,
},
},
fmt: {
ignorePatterns: [
"node_modules/**",
"**/node_modules/**",
"apps/web/build/**",
"apps/web/.react-router/**",
"apps/native/.expo/**",
"apps/native/dist/**",
"apps/native/web-build/**",
"packages/backend/convex/_generated/**",
],
singleQuote: false,
semi: true,
sortPackageJson: true,
},
staged: {
"*.{js,ts,jsx,tsx,vue,svelte,json,jsonc,css,md}": "vp check --fix",
},
});