Files
halo-theme-whitespace/vite.config.ts
T
Ryan Wang 2ae2ec231a Bump tooling, add check script, remove templates
Upgrade developer toolchain and clean up project files: add a new "check" script (replacing previous lint/fmt), bump TypeScript and add @halo-dev/vite-plugin-halo-theme, update pnpm packageManager version, remove legacy templates HTML files and add "templates" to .gitignore, and apply related changes to vite.config.ts. The lockfile was updated to reflect dependency changes.
2026-04-02 23:06:27 +08:00

22 lines
496 B
TypeScript

import { haloThemePlugin } from "@halo-dev/vite-plugin-halo-theme";
import { defineConfig } from "vite-plus";
export default defineConfig({
plugins: [haloThemePlugin()],
lint: { options: { typeAware: true, typeCheck: true } },
fmt: {
printWidth: 100,
tabWidth: 2,
useTabs: false,
endOfLine: "lf",
sortPackageJson: true,
insertFinalNewline: true,
sortImports: {},
sortTailwindcss: {},
ignorePatterns: [],
},
staged: {
"*": ["vp check"],
},
});