Skip to content

Commit b1f43cc

Browse files
Update utils/custom-loaders/html-tag-jsx-loader.js
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent ed1fd71 commit b1f43cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

utils/custom-loaders/html-tag-jsx-loader.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ module.exports = function htmlTagJsxLoader(source) {
2828
}
2929

3030
// Parse with appropriate plugins
31+
const parserPlugins = [
3132
const parserPlugins = [
3233
"jsx",
33-
"@babel/plugin-transform-runtime",
34-
"@babel/plugin-transform-block-scoping",
3534
];
3635
if (isTypeScript) {
3736
parserPlugins.push("typescript");

0 commit comments

Comments
 (0)