Skip to content

Commit

Permalink
fix: builtin path (#2235)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinbao1001 authored Dec 10, 2024
1 parent 5ad9dd5 commit 67176e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loaders/markdown/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function emitDefault(
});
// import all builtin components, may be used by markdown content
return `${Object.values(opts.builtins)
.map((item) => `import ${item.specifier} from '${item.source}';`)
.map((item) => `import ${item.specifier} from '${winPath(item.source)}';`)
.join('\n')}
${dependencies
.filter((dep: string) => dep.endsWith('.md'))
Expand Down

0 comments on commit 67176e9

Please sign in to comment.