Skip to content

Commit 0a36349

Browse files
committed
Run CRA v2 transpilers on jsx files
1 parent b111371 commit 0a36349

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/sandbox/eval/presets/create-react-app

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/eval/presets/create-react-app/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default function initialize() {
7373
},
7474
};
7575
preset.registerTranspiler(
76-
module => /\.js$/.test(module.path),
76+
module => /\.jsx?$/.test(module.path),
7777
[
7878
{
7979
transpiler: babelTranspiler,

0 commit comments

Comments
 (0)