Skip to content

Commit 7130c1d

Browse files
committedOct 16, 2024·
fix: setupPreparser should be synchronous
1 parent b074f1f commit 7130c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎packages/slidev/node/setups/preparser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { resolveAddons } from '../integrations/addons'
55
import { getRoots } from '../resolver'
66
import { loadSetups } from './load'
77

8-
export default async function setupPreparser() {
8+
export default function setupPreparser() {
99
injectPreparserExtensionLoader(async (headmatter: Record<string, unknown>, filepath: string, mode?: string) => {
1010
const addons = headmatter?.addons as string[]
1111
if (!addons?.length)

0 commit comments

Comments
 (0)
Please sign in to comment.