Skip to content

Commit

Permalink
feat(jsx-directive): support .jsx suffix by default (#609)
Browse files Browse the repository at this point in the history
* feat(jsx-directive): support .jsx suffix by default

* chore: changeset
  • Loading branch information
zhiyuanzmj committed Jan 5, 2024
1 parent 1c89ea1 commit 368f5ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/beige-frogs-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vue-macros/jsx-directive": patch
---

support .jsx suffix by default
2 changes: 1 addition & 1 deletion packages/jsx-directive/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function resolveOptions(
): OptionsResolved {
const version = options.version || detectVueVersion()
const include = getFilterPattern(
[FilterFileType.VUE_SFC_WITH_SETUP, FilterFileType.SETUP_SFC],
[FilterFileType.VUE_SFC_WITH_SETUP, FilterFileType.SRC_FILE],
framework,
)
return {
Expand Down

0 comments on commit 368f5ed

Please sign in to comment.