Skip to content

Commit f664ebb

Browse files
authored
fix: adding support for @babel/preset-react (#543)
1 parent b559772 commit f664ebb

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@babel/plugin-proposal-class-properties": "^7.13.0",
1515
"@babel/plugin-transform-runtime": "^7.13.10",
1616
"@babel/preset-env": "^7.14.7",
17+
"@babel/preset-react": "^7.14.5",
1718
"@hapi/eslint-plugin": "^5.0.0",
1819
"@typescript-eslint/eslint-plugin": "^4.9.0",
1920
"@typescript-eslint/parser": "^4.9.0",

yarn.lock

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,13 @@
691691
dependencies:
692692
"@babel/helper-plugin-utils" "^7.8.0"
693693

694+
"@babel/plugin-syntax-jsx@^7.14.5":
695+
version "7.14.5"
696+
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.14.5.tgz#000e2e25d8673cce49300517a3eda44c263e4201"
697+
integrity sha512-ohuFIsOMXJnbOMRfX7/w7LocdR6R7whhuRD4ax8IipLcLPlZGJKkBxgHp++U4N/vKyU16/YDQr2f5seajD3jIw==
698+
dependencies:
699+
"@babel/helper-plugin-utils" "^7.14.5"
700+
694701
"@babel/plugin-syntax-logical-assignment-operators@^7.10.4":
695702
version "7.10.4"
696703
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699"
@@ -930,6 +937,39 @@
930937
dependencies:
931938
"@babel/helper-plugin-utils" "^7.14.5"
932939

940+
"@babel/plugin-transform-react-display-name@^7.14.5":
941+
version "7.14.5"
942+
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.14.5.tgz#baa92d15c4570411301a85a74c13534873885b65"
943+
integrity sha512-07aqY1ChoPgIxsuDviptRpVkWCSbXWmzQqcgy65C6YSFOfPFvb/DX3bBRHh7pCd/PMEEYHYWUTSVkCbkVainYQ==
944+
dependencies:
945+
"@babel/helper-plugin-utils" "^7.14.5"
946+
947+
"@babel/plugin-transform-react-jsx-development@^7.14.5":
948+
version "7.14.5"
949+
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.14.5.tgz#1a6c73e2f7ed2c42eebc3d2ad60b0c7494fcb9af"
950+
integrity sha512-rdwG/9jC6QybWxVe2UVOa7q6cnTpw8JRRHOxntG/h6g/guAOe6AhtQHJuJh5FwmnXIT1bdm5vC2/5huV8ZOorQ==
951+
dependencies:
952+
"@babel/plugin-transform-react-jsx" "^7.14.5"
953+
954+
"@babel/plugin-transform-react-jsx@^7.14.5":
955+
version "7.14.5"
956+
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.14.5.tgz#39749f0ee1efd8a1bd729152cf5f78f1d247a44a"
957+
integrity sha512-7RylxNeDnxc1OleDm0F5Q/BSL+whYRbOAR+bwgCxIr0L32v7UFh/pz1DLMZideAUxKT6eMoS2zQH6fyODLEi8Q==
958+
dependencies:
959+
"@babel/helper-annotate-as-pure" "^7.14.5"
960+
"@babel/helper-module-imports" "^7.14.5"
961+
"@babel/helper-plugin-utils" "^7.14.5"
962+
"@babel/plugin-syntax-jsx" "^7.14.5"
963+
"@babel/types" "^7.14.5"
964+
965+
"@babel/plugin-transform-react-pure-annotations@^7.14.5":
966+
version "7.14.5"
967+
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.14.5.tgz#18de612b84021e3a9802cbc212c9d9f46d0d11fc"
968+
integrity sha512-3X4HpBJimNxW4rhUy/SONPyNQHp5YRr0HhJdT2OH1BRp0of7u3Dkirc7x9FRJMKMqTBI079VZ1hzv7Ouuz///g==
969+
dependencies:
970+
"@babel/helper-annotate-as-pure" "^7.14.5"
971+
"@babel/helper-plugin-utils" "^7.14.5"
972+
933973
"@babel/plugin-transform-regenerator@^7.14.5":
934974
version "7.14.5"
935975
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.14.5.tgz#9676fd5707ed28f522727c5b3c0aa8544440b04f"
@@ -1097,6 +1137,18 @@
10971137
"@babel/types" "^7.4.4"
10981138
esutils "^2.0.2"
10991139

1140+
"@babel/preset-react@^7.14.5":
1141+
version "7.14.5"
1142+
resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.14.5.tgz#0fbb769513f899c2c56f3a882fa79673c2d4ab3c"
1143+
integrity sha512-XFxBkjyObLvBaAvkx1Ie95Iaq4S/GUEIrejyrntQ/VCMKUYvKLoyKxOBzJ2kjA3b6rC9/KL6KXfDC2GqvLiNqQ==
1144+
dependencies:
1145+
"@babel/helper-plugin-utils" "^7.14.5"
1146+
"@babel/helper-validator-option" "^7.14.5"
1147+
"@babel/plugin-transform-react-display-name" "^7.14.5"
1148+
"@babel/plugin-transform-react-jsx" "^7.14.5"
1149+
"@babel/plugin-transform-react-jsx-development" "^7.14.5"
1150+
"@babel/plugin-transform-react-pure-annotations" "^7.14.5"
1151+
11001152
"@babel/runtime-corejs3@^7.10.2":
11011153
version "7.14.7"
11021154
resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.14.7.tgz#0ef292bbce40ca00f874c9724ef175a12476465c"

0 commit comments

Comments
 (0)