mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix(vite): add extend layers to fs.allow
(#9006)
This commit is contained in:
parent
1f645e2a96
commit
4a779460a5
@ -85,7 +85,8 @@ export async function bundle (nuxt: Nuxt) {
|
||||
watch: { ignored: isIgnored },
|
||||
fs: {
|
||||
allow: [
|
||||
nuxt.options.appDir
|
||||
nuxt.options.appDir,
|
||||
...nuxt.options._layers.map(l => l.config.rootDir)
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user