Skip to content

Commit

Permalink
fix(dev): transform jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori committed Feb 17, 2023
1 parent beda271 commit 11aa30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remix-dev/transform/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export let create =
plugins: [babelPluginSyntaxTypescript, babelRecastPlugin, plugin],
overrides: [
{
test: /\.tsx$/,
test: /\.[jt]sx?$/,
plugins: [
babelPluginSyntaxJsx,
[babelPluginSyntaxTypescript, { isTSX: true }],
Expand Down

0 comments on commit 11aa30f

Please sign in to comment.