Skip to content

Commit

Permalink
fix: support parsing markdown with query strings (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Apr 13, 2023
1 parent 6db0486 commit 3850f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function VitePluginMarkdown(userOptions: Options = {}): Plugin {
const markdownToVue = createMarkdown(options)

const filter = createFilter(
userOptions.include || /\.md$/,
userOptions.include || /\.md(\?.+)?$/,
userOptions.exclude,
)

Expand Down

0 comments on commit 3850f89

Please sign in to comment.