mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(vite): enable fs strict mode (#8674)
This commit is contained in:
parent
9eb6a62471
commit
44b4100e4c
@ -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 ?? []
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user