Skip to content

Commit

Permalink
feat: set enforce to post
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuanzmj committed Dec 9, 2024
1 parent 265afff commit 03c3fb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const plugin = createPlugin<Options | undefined>((

return {
name: 'ignore-attributes',
enforce: 'post',
resolveVirtualCode({ ast, codes, source, languageId }) {
if (!['jsx', 'tsx'].includes(languageId))
return
Expand Down

0 comments on commit 03c3fb1

Please sign in to comment.