Initial Template
This commit is contained in:
commit
35342d6c2d
23 changed files with 4945 additions and 0 deletions
34
packages/web/vite.config.ts
Normal file
34
packages/web/vite.config.ts
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import checker from "vite-plugin-checker";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
checker({
|
||||
biome: { command: "check", dev: { command: "lint" } },
|
||||
typescript: true,
|
||||
stylelint: { lintCommand: "stylelint ./src/**/*.css" },
|
||||
}),
|
||||
react(),
|
||||
],
|
||||
server: {
|
||||
fs: {
|
||||
deny: [".devenv/", ".direnv/"],
|
||||
},
|
||||
watch: {
|
||||
ignored: [
|
||||
"**/.devenv/**",
|
||||
"**/.devenv",
|
||||
"**/.direnv/**",
|
||||
"**/.direnv",
|
||||
"**/.git/**",
|
||||
"**/.git",
|
||||
"**/node_modules/**",
|
||||
"**/node_modules",
|
||||
"**/dist/**",
|
||||
"**/dist",
|
||||
],
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue