Skip to content

Commit 3850f89

Browse files
authored
fix: support parsing markdown with query strings (#17)
1 parent 6db0486 commit 3850f89

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
@@ -9,7 +9,7 @@ function VitePluginMarkdown(userOptions: Options = {}): Plugin {
99
const markdownToVue = createMarkdown(options)
1010

1111
const filter = createFilter(
12-
userOptions.include || /\.md$/,
12+
userOptions.include || /\.md(\?.+)?$/,
1313
userOptions.exclude,
1414
)
1515

0 commit comments

Comments
 (0)