Skip to content

Commit

Permalink
Update packages/vite/src/node/plugins/oxc.ts
Browse files Browse the repository at this point in the history
Co-authored-by: 翠 / green <green@sapphi.red>
  • Loading branch information
underfin and sapphi-red authored Oct 18, 2024
1 parent 235186f commit 5e7d5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/oxc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export function oxcPlugin(config: ResolvedConfig): Plugin {
)
const jsxFilter = createFilter(
jsxInclude || /\.jsx$/,
jsxExclude || /\.m?tsx?$/,
jsxExclude || /\.(m?[jt]s|tsx)$/,
)

return {
Expand Down

0 comments on commit 5e7d5c5

Please sign in to comment.