Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(vite): enable fs strict mode (#8674)
  • Loading branch information
pi0 committed Nov 3, 2022
1 parent 9eb6a62 commit 44b4100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schema/src/config/vite.ts
Expand Up @@ -64,12 +64,12 @@ export default defineUntypedSchema({
},
server: {
fs: {
strict: false,
allow: {
$resolve: async (val, get) => [
await get('buildDir'),
await get('srcDir'),
await get('rootDir'),
await get('workspaceDir'),
...(await get('modulesDir')),
...val ?? []
]
Expand Down

0 comments on commit 44b4100

Please sign in to comment.