mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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 },
|
watch: { ignored: isIgnored },
|
||||||
fs: {
|
fs: {
|
||||||
allow: [
|
allow: [
|
||||||
nuxt.options.appDir
|
nuxt.options.appDir,
|
||||||
|
...nuxt.options._layers.map(l => l.config.rootDir)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user