Skip to content

Commit

Permalink
fix: add katex to global fs allow list (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Nov 13, 2021
1 parent 073c8b4 commit 699214a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/slidev/node/plugins/extendConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function createConfigPlugin(options: ResolvedSlidevOptions): Plugin {
searchForWorkspaceRoot(options.cliRoot),
...(
isInstalledGlobally
? [dirname(resolveGlobal('@slidev/client/package.json'))]
? [dirname(resolveGlobal('@slidev/client/package.json')), dirname(resolveGlobal('katex/package.json'))]
: []
),
]),
Expand Down

0 comments on commit 699214a

Please sign in to comment.