Skip to content

Commit b756669

Browse files
authored
Merge pull request #431 from dcastil/feature/421/avoid-babel-runtime-dependency
Avoid `@babel/runtime` dependency
2 parents 394c5ba + 8918b23 commit b756669

3 files changed

Lines changed: 1 addition & 25 deletions

File tree

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@
6161
"version": "zx scripts/update-readme.mjs",
6262
"postversion": "if [ -n \"$DANYS_MACHINE\" ]; then git push --follow-tags && open https://github.com/dcastil/tailwind-merge/releases; fi"
6363
},
64-
"dependencies": {
65-
"@babel/runtime": "^7.24.6"
66-
},
6764
"devDependencies": {
68-
"@babel/plugin-transform-runtime": "^7.24.6",
6965
"@babel/preset-env": "^7.24.6",
7066
"@rollup/plugin-babel": "^6.0.4",
7167
"@rollup/plugin-node-resolve": "^15.2.3",

scripts/rollup.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ function getOutputConfig({ file, format, targets }) {
113113
],
114114
plugins: [
115115
'babel-plugin-annotate-pure-calls',
116-
['@babel/plugin-transform-runtime', { useESModules: format === 'esm' }],
117116
['babel-plugin-polyfill-regenerator', { method: 'usage-pure' }],
118117
],
119118
}),

yarn.lock

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -947,18 +947,6 @@
947947
dependencies:
948948
"@babel/helper-plugin-utils" "^7.24.6"
949949

950-
"@babel/plugin-transform-runtime@^7.24.6":
951-
version "7.24.6"
952-
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.24.6.tgz#1e3256246004c3724b8e07c7cb25e35913c4e373"
953-
integrity sha512-W3gQydMb0SY99y/2lV0Okx2xg/8KzmZLQsLaiCmwNRl1kKomz14VurEm+2TossUb+sRvBCnGe+wx8KtIgDtBbQ==
954-
dependencies:
955-
"@babel/helper-module-imports" "^7.24.6"
956-
"@babel/helper-plugin-utils" "^7.24.6"
957-
babel-plugin-polyfill-corejs2 "^0.4.10"
958-
babel-plugin-polyfill-corejs3 "^0.10.1"
959-
babel-plugin-polyfill-regenerator "^0.6.1"
960-
semver "^6.3.1"
961-
962950
"@babel/plugin-transform-shorthand-properties@^7.24.6":
963951
version "7.24.6"
964952
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.24.6.tgz#ef734ebccc428d2174c7bb36015d0800faf5381e"
@@ -1127,13 +1115,6 @@
11271115
resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310"
11281116
integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==
11291117

1130-
"@babel/runtime@^7.24.6":
1131-
version "7.24.6"
1132-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.6.tgz#5b76eb89ad45e2e4a0a8db54c456251469a3358e"
1133-
integrity sha512-Ja18XcETdEl5mzzACGd+DKgaGJzPTCow7EglgwTmHdwokzDFYh/MHua6lU6DV/hjF2IaOJ4oX2nqnjG7RElKOw==
1134-
dependencies:
1135-
regenerator-runtime "^0.14.0"
1136-
11371118
"@babel/runtime@^7.8.4":
11381119
version "7.22.10"
11391120
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.10.tgz#ae3e9631fd947cb7e3610d3e9d8fef5f76696682"
@@ -2298,7 +2279,7 @@ babel-plugin-polyfill-corejs2@^0.4.10:
22982279
"@babel/helper-define-polyfill-provider" "^0.6.1"
22992280
semver "^6.3.1"
23002281

2301-
babel-plugin-polyfill-corejs3@^0.10.1, babel-plugin-polyfill-corejs3@^0.10.4:
2282+
babel-plugin-polyfill-corejs3@^0.10.4:
23022283
version "0.10.4"
23032284
resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.4.tgz#789ac82405ad664c20476d0233b485281deb9c77"
23042285
integrity sha512-25J6I8NGfa5YkCDogHRID3fVCadIR8/pGl1/spvCkzb6lVn6SR3ojpx9nOn9iEBcUsjY24AmdKm5khcfKdylcg==

0 commit comments

Comments
 (0)