mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 03:14:00 +00:00
fix: escape repo root in Vite deny glob
This commit is contained in:
1 parent
ccb7b7333d
commit
509ab57e4b
1 file changed
+1
-1
+1
-1
@@ -119,7 +119,7 @@ export function createBrowserViteConfig({
|
|||||||
// Root-anchored: a bare '**/dist/**' would also deny every
|
// Root-anchored: a bare '**/dist/**' would also deny every
|
||||||
// dependency's own dist/ (e.g. node_modules/vite/dist/client),
|
// dependency's own dist/ (e.g. node_modules/vite/dist/client),
|
||||||
// breaking /@vite/client and other dev-client assets.
|
// breaking /@vite/client and other dev-client assets.
|
||||||
`${REPO_ROOT}/dist/**`,
|
`${REPO_ROOT_GLOB}/dist/**`,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
// These headers protect the document containing Provider Settings and
|
// These headers protect the document containing Provider Settings and
|
||||||
|
|||||||
Reference in new issue
Block a user