Skip to content

Commit fb8b10e

Browse files
committed
fix: 🚑 fix default export
Due to this bug, `llmstxt` could not be imported via default import: ```ts import llmstxt from 'vitepress-plugin-llms' ``` And it had to be imported through `{ }`: ```ts import { llmstxt } from 'vitepress-plugin-llms' ``` Now it fixed. 🦁 Spotted in #62 (comment) Reported-by: Lakr <git@qaq.wiki>
1 parent de42211 commit fb8b10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export { copyOrDownloadAsMarkdownButtons } from './markdown/markdown-it-plugins'
2-
export { llmstxt } from './plugin/main'
2+
export { llmstxt as default } from './plugin/main'

0 commit comments

Comments
 (0)