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

fix(vite): add extend layers to fs.allow #9006

Merged
merged 1 commit into from Nov 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/vite/src/vite.ts
Expand Up @@ -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)
]
}
}
Expand Down