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

Commit

Permalink
fix(vite): add extend layers to fs.allow (#9006)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Nov 15, 2022
1 parent 1f645e2 commit 4a77946
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vite/src/vite.ts
Original file line number Diff line number Diff line change
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

0 comments on commit 4a77946

Please sign in to comment.