diff --git a/packages/slidev/node/setups/preparser.ts b/packages/slidev/node/setups/preparser.ts index 3838d6692b..caede2cf53 100644 --- a/packages/slidev/node/setups/preparser.ts +++ b/packages/slidev/node/setups/preparser.ts @@ -8,8 +8,8 @@ import { loadSetups } from './load' export default function setupPreparser() { injectPreparserExtensionLoader(async (headmatter: Record, filepath: string, mode?: string) => { const addons = headmatter?.addons as string[] - if (!addons?.length) - return [] + // if (!addons?.length) + // return [] const { userRoot } = await getRoots() const roots = uniq([ ...await resolveAddons(addons),