Skip to content

Commit

Permalink
fix: make vite server strict
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 10, 2021
1 parent 4b3700f commit 478d530
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/slidev/node/plugins/config.ts
Expand Up @@ -47,6 +47,11 @@ export function createConfigPlugin(options: ResolvedSlidevOptions): Plugin {
],
exclude: EXCLUDE,
},
server: {
fs: {
strict: true,
},
},
}

if (isInstalledGlobally) {
Expand Down

0 comments on commit 478d530

Please sign in to comment.