Skip to content

Commit 6524ebd

Browse files
refactor(vite.config): update watch ignored files
1 parent 44c4293 commit 6524ebd

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

vite.config.ts

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,9 @@ export default defineConfig({
88
port: 3031,
99
strictPort: true,
1010
watch: {
11-
ignored: [
12-
"**/.astro/**",
13-
"**/.cache/**",
14-
"**/.idea/**",
15-
"**/.unlighthouse/**",
16-
"**/.vscode/**",
17-
"**/build/**",
18-
"**/data/**",
19-
"**/dist/**",
20-
"**/docs/**",
21-
],
11+
ignored: ["**/.github/**", "**/data/**", "**/dist/**", "**/ops/**", "**/out/**", "**/docs/**", "**/test/**"],
2212
},
23-
allowedHosts: ["solid-ui.com", "solid-ui.localhost"],
13+
allowedHosts: ["solid-ui.com"],
2414
},
2515
resolve: {
2616
alias: {
@@ -31,6 +21,7 @@ export default defineConfig({
3121
},
3222
// @ts-ignore
3323
plugins: [solid(), tailwindcss(), visualizer({ filename: "dist/bundle-size.html", gzipSize: true })],
24+
envPrefix: "PUBLIC_",
3425
build: {
3526
chunkSizeWarningLimit: 1050,
3627
outDir: "out",

0 commit comments

Comments
 (0)