mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(vite): make vite server strict by default (#321)
This commit is contained in:
parent
a3a7df7835
commit
ea0fdc2aa2
@ -55,6 +55,18 @@ export async function bundle (nuxt: Nuxt) {
|
||||
build: {
|
||||
emptyOutDir: false
|
||||
},
|
||||
server: {
|
||||
fs: {
|
||||
strict: true,
|
||||
allow: [
|
||||
nuxt.options.buildDir,
|
||||
nuxt.options.appDir,
|
||||
nuxt.options.srcDir,
|
||||
nuxt.options.rootDir,
|
||||
...nuxt.options.modulesDir
|
||||
]
|
||||
}
|
||||
},
|
||||
plugins: []
|
||||
} as ViteOptions
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user