{"_id":"@rolldown/plugin-babel","_rev":"12-6466f402e097ac69e23dd80a826d9831","name":"@rolldown/plugin-babel","dist-tags":{"latest":"0.2.3"},"versions":{"0.1.0":{"name":"@rolldown/plugin-babel","version":"0.1.0","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.1.0","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"9808f284f075220e65bb6a53308ad40d0775621a","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.1.0.tgz","fileCount":5,"integrity":"sha512-R0Z5YsIDMMjdcJL0hOiI0p7b5aoV5vt9QJkbMx0bokUB2WwRReHnv+F2ZH5gfNydy/eKrHQp2JQaT9o7qMBLlw==","signatures":[{"sig":"MEUCIQDli52PW4SXXf7tLcoVaYoMyqxuZgdjaruIAR/NTlWW6gIgHZXZQFDgaPbc5dUDCocKrOplSoWn4C1OlJrQrjqoRHw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23513},"type":"module","_from":"file:rolldown-plugin-babel-0.1.0.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"sapphi-red","email":"green@sapphi.red"},"_resolved":"C:\\Users\\green\\AppData\\Local\\Temp\\e99dd974b30c14eedd077af4714c3160\\rolldown-plugin-babel-0.1.0.tgz","_integrity":"sha512-R0Z5YsIDMMjdcJL0hOiI0p7b5aoV5vt9QJkbMx0bokUB2WwRReHnv+F2ZH5gfNydy/eKrHQp2JQaT9o7qMBLlw==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.6.2","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.13.0","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-beta.15","rolldown":"1.0.0-rc.5","@babel/core":"^8.0.0-rc.1","@types/node":"^22.19.11","@types/picomatch":"^4.0.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.1.0_1772109955513_0.9810230370923922","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@rolldown/plugin-babel","version":"0.1.2","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.1.2","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"a2032fcdfbe562e3e9055044db506bf112b037d7","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.1.2.tgz","fileCount":3,"integrity":"sha512-LbjHyXT/YbzzgwU/Umn1CxtRsC4yUOiWOL4fCjDEXqOHWIXIFGAQNu7QHQv35ehgoFZCabFvtmGVkQakJYyysg==","signatures":[{"sig":"MEYCIQCWmZXkNP50O0l+HFDHvkBCQ+EBwdp5d9Eg83EKwKVUIQIhAOIvv247mOMfJzybzDk2Lm3snNC9ZL3xZWeIkXhZlsSo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7960},"type":"module","_from":"file:rolldown-plugin-babel-0.1.2.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"_resolved":"/tmp/acaf479ac2d35fc50501e318e1841d1b/rolldown-plugin-babel-0.1.2.tgz","_integrity":"sha512-LbjHyXT/YbzzgwU/Umn1CxtRsC4yUOiWOL4fCjDEXqOHWIXIFGAQNu7QHQv35ehgoFZCabFvtmGVkQakJYyysg==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.11.0","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.13.1","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-beta.15","rolldown":"1.0.0-rc.5","@babel/core":"^8.0.0-rc.1","@types/node":"^22.19.11","@types/picomatch":"^4.0.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.1.2_1772110908816_0.28386942362432444","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@rolldown/plugin-babel","version":"0.1.3","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.1.3","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"7ac400902808962aff72aa1d4db549439704657e","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.1.3.tgz","fileCount":5,"integrity":"sha512-TGQ7bUIpYQ8wvnni30vK1se9Ccx0T0EshZ0Vk9P9LN8j2scB5ZMAMlq/Qh1C7gQkob1lonW8gcdNNLwDMasOFA==","signatures":[{"sig":"MEUCIQCS/Xfk1Bi1Hdytx6MOV1nEBitREEwX8ei5fpL12ZXSxwIgdQY0GfSyB5kVArWwtR86nvYaQ3Ct9SMomN65TKV0iO4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23628},"type":"module","_from":"file:rolldown-plugin-babel-0.1.3.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"_resolved":"/tmp/475445e926e548bb2992334f1d46b087/rolldown-plugin-babel-0.1.3.tgz","_integrity":"sha512-TGQ7bUIpYQ8wvnni30vK1se9Ccx0T0EshZ0Vk9P9LN8j2scB5ZMAMlq/Qh1C7gQkob1lonW8gcdNNLwDMasOFA==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.11.0","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.13.1","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-beta.15","rolldown":"1.0.0-rc.5","@babel/core":"^8.0.0-rc.1","@types/node":"^22.19.11","@types/picomatch":"^4.0.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.1.3_1772111066055_0.6775869558357694","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@rolldown/plugin-babel","version":"0.1.4","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.1.4","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"7f96d0fecbb0034d00e6ab47a9705ee33ccc89f9","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.1.4.tgz","fileCount":5,"integrity":"sha512-bttvH4SYEj0hYfoe//f8+qBVJxbUFcOzkJBwxCi8sTlZu57CI3Hb0+UDlN28sMVVmj69VRTjIhH4nSO4MQ/j7w==","signatures":[{"sig":"MEUCICh5dWc2PEPwt83Kt6V720UxEmhUQFyC/+jqB7tG9aKKAiEAvuJmUVPYDQ2te6mMXt6UHZQPjpZt3VQxXNmWbMPegVs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24366},"type":"module","_from":"file:rolldown-plugin-babel-0.1.4.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"_resolved":"/tmp/078c442c9e7b85fa264bd4f37edbf08e/rolldown-plugin-babel-0.1.4.tgz","_integrity":"sha512-bttvH4SYEj0hYfoe//f8+qBVJxbUFcOzkJBwxCi8sTlZu57CI3Hb0+UDlN28sMVVmj69VRTjIhH4nSO4MQ/j7w==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.11.0","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.13.1","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-beta.15","rolldown":"1.0.0-rc.5","@babel/core":"^8.0.0-rc.1","@types/node":"^22.19.11","@types/picomatch":"^4.0.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.1.4_1772115386998_0.9987141006634546","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@rolldown/plugin-babel","version":"0.1.5","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.1.5","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"743705b5386f84c1d0938f0b91a0fa7917f97c5f","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.1.5.tgz","fileCount":5,"integrity":"sha512-y3GvhEGuMvooOXZKOl0ZXIy1eonXIJpfdpLVGyEP+edC8PjuI3ZnNKuVCnvCOUrot2DHRHVT90Or0tn1V6+2Cw==","signatures":[{"sig":"MEUCIQC62uiJQ7fcXowibY6GLKnUet5u5wS3+DPa2Lm/81KnsAIgD9axc6H+lbUB4QtXQabuSJp4yImldVEEzvdthqQEAaM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24384},"type":"module","_from":"file:rolldown-plugin-babel-0.1.5.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"_resolved":"/tmp/643b2f23471bd8ccf1348ed339c9a2d7/rolldown-plugin-babel-0.1.5.tgz","_integrity":"sha512-y3GvhEGuMvooOXZKOl0ZXIy1eonXIJpfdpLVGyEP+edC8PjuI3ZnNKuVCnvCOUrot2DHRHVT90Or0tn1V6+2Cw==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.11.0","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.13.1","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-beta.15","rolldown":"1.0.0-rc.5","@babel/core":"^8.0.0-rc.1","@types/node":"^22.19.11","@types/picomatch":"^4.0.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.1.5_1772169527367_0.48961236084250603","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@rolldown/plugin-babel","version":"0.1.6","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.1.6","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"2ab244f73bac10984a12ab1ee1e6f1d956dbc267","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.1.6.tgz","fileCount":5,"integrity":"sha512-HCBR/3yInWq57nkWm20GvdEThAJPgz9XUqVSQbGIyyTxq98bJvxXLrQOIIlh/44p6virlgEEn4gR66DN6pISYw==","signatures":[{"sig":"MEUCIQDIGYcJhpg8hFo3FNE1IFx7S+MjFMwR/jCUyB9Wj2F52wIgepQxlcP6WDKRm8S1CSF3ZDDa0JmBP1mdp45u/DpxgK0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25504},"type":"module","_from":"file:rolldown-plugin-babel-0.1.6.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"_resolved":"/tmp/c92652c51e81c8f1b40392b56d57f0af/rolldown-plugin-babel-0.1.6.tgz","_integrity":"sha512-HCBR/3yInWq57nkWm20GvdEThAJPgz9XUqVSQbGIyyTxq98bJvxXLrQOIIlh/44p6virlgEEn4gR66DN6pISYw==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.11.0","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.13.1","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-beta.15","rolldown":"1.0.0-rc.5","@babel/core":"^8.0.0-rc.1","@types/node":"^22.19.11","@types/picomatch":"^4.0.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.1.6_1772173773325_0.818275609533035","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@rolldown/plugin-babel","version":"0.1.7","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.1.7","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"b9dc6f18a8246400e71b369d4919dbd8118d8532","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.1.7.tgz","fileCount":5,"integrity":"sha512-aalGnZ8MojdHteFvPGIK+VmhibseVlk825eGbpe8Bcq9sxz9vSnFlYcU1DRZmOM3XDKrDziXEtDYyn5ojLAb7Q==","signatures":[{"sig":"MEUCIQDqg1mnrGOHD7aTZVIq6klL/5vHUmhF5kKTw+snKQiYbwIgUVwWWAGb/s74+x6CGPNIBaREHzfkZtZ2yZAv1fUhNj4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.1.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27330},"type":"module","_from":"file:rolldown-plugin-babel-0.1.7.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"_resolved":"/tmp/9f9c3f8a00f8ac73f8328076266e60e6/rolldown-plugin-babel-0.1.7.tgz","_integrity":"sha512-aalGnZ8MojdHteFvPGIK+VmhibseVlk825eGbpe8Bcq9sxz9vSnFlYcU1DRZmOM3XDKrDziXEtDYyn5ojLAb7Q==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.11.0","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.13.1","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-beta.15","rolldown":"1.0.0-rc.5","@babel/core":"^8.0.0-rc.1","@types/node":"^22.19.11","@types/picomatch":"^4.0.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.1.7_1772433969974_0.5128857255179107","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@rolldown/plugin-babel","version":"0.1.8","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.1.8","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"1b286dce453223f92961648510b792a147d9c921","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.1.8.tgz","fileCount":5,"integrity":"sha512-eiFVRg3SH3Cco/kUFPtUzZpiPlNj/KX4IDxbI9/OW+tw7W+owBGfXH4443ABHB30pPeDtZ4arDNXtjZUJWvTGg==","signatures":[{"sig":"MEQCIGfXx+IeccxoU/7V8CqEldL44SlzRqXqgrOb4/Fw3P+HAiBZKLO3C2iGg3whbf4/aatF4SCURyLj2Mvtj2kq5o+ngQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27991},"type":"module","_from":"file:rolldown-plugin-babel-0.1.8.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"_resolved":"/tmp/8328276bcfd97f182637ace9a1980257/rolldown-plugin-babel-0.1.8.tgz","_integrity":"sha512-eiFVRg3SH3Cco/kUFPtUzZpiPlNj/KX4IDxbI9/OW+tw7W+owBGfXH4443ABHB30pPeDtZ4arDNXtjZUJWvTGg==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.11.0","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.13.1","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-beta.15","rolldown":"1.0.0-rc.5","@babel/core":"^8.0.0-rc.1","@types/node":"^22.19.11","@types/picomatch":"^4.0.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.1.8_1772522123025_0.9892149573877915","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@rolldown/plugin-babel","version":"0.2.0","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.2.0","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"12a67b652dcaa525c6d360104959f0033dec39d1","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.2.0.tgz","fileCount":5,"integrity":"sha512-ZkajPtfcBTfLSZTmm40k2E0cwT5HDosBcj71fdUURXl7FfETb50jEbV39ujPw2RFp3ZpOugK3ATdX+HuFfWr9Q==","signatures":[{"sig":"MEUCIBZ7/imqGQEj/RiwSHTi4YD+2gOEU256wlwDgB4GM1Q3AiEAnlwNJHwo0JdyIxcDvml/sdtbS+NMzPr2zM1HwatDJC0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30601},"type":"module","_from":"file:rolldown-plugin-babel-0.2.0.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"_resolved":"/tmp/d9e1bfc6d2d503c635635000e6adc786/rolldown-plugin-babel-0.2.0.tgz","_integrity":"sha512-ZkajPtfcBTfLSZTmm40k2E0cwT5HDosBcj71fdUURXl7FfETb50jEbV39ujPw2RFp3ZpOugK3ATdX+HuFfWr9Q==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.11.0","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.14.0","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-beta.15","rolldown":"1.0.0-rc.5","@babel/core":"^8.0.0-rc.1","@types/node":"^22.19.11","@babel/runtime":"^8.0.0-rc.2","@types/picomatch":"^4.0.2","@babel/plugin-transform-runtime":"^8.0.0-rc.2","@babel/plugin-proposal-decorators":"^8.0.0-rc.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1","@babel/runtime":"^7.27.0 || ^8.0.0-rc.1","@babel/plugin-transform-runtime":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true},"@babel/runtime":{"optional":true},"@babel/plugin-transform-runtime":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.2.0_1772693714575_0.27492852062030937","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@rolldown/plugin-babel","version":"0.2.1","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.2.1","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"a3a91e10167103a2e73fe0dab68dbe5dcc0fd9b0","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.2.1.tgz","fileCount":5,"integrity":"sha512-pHDVHqFv26JNC8I500JZ0H4h1kvSyiE3V9gjEO9pRAgD1KrIdJvcHCokV6f7gG7Rx4vMOD11V8VUOpqdyGbKBw==","signatures":[{"sig":"MEUCIBU+3T3jDPIJLNIsAB92rwfKmrHgN/VMHdAiR5Cg2w3pAiEAp5i7H/IE+/sj9DIldkrjmRZYvt7OdibiA8id4VsRa7M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30616},"type":"module","_from":"file:rolldown-plugin-babel-0.2.1.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"_resolved":"/tmp/5e61d6f146e81f2878793239b8f3357e/rolldown-plugin-babel-0.2.1.tgz","_integrity":"sha512-pHDVHqFv26JNC8I500JZ0H4h1kvSyiE3V9gjEO9pRAgD1KrIdJvcHCokV6f7gG7Rx4vMOD11V8VUOpqdyGbKBw==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.11.1","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.14.0","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-beta.15","rolldown":"1.0.0-rc.5","@babel/core":"^8.0.0-rc.1","@types/node":"^22.19.11","@babel/runtime":"^8.0.0-rc.2","@types/picomatch":"^4.0.2","@babel/plugin-transform-runtime":"^8.0.0-rc.2","@babel/plugin-proposal-decorators":"^8.0.0-rc.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1","@babel/runtime":"^7.27.0 || ^8.0.0-rc.1","@babel/plugin-transform-runtime":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true},"@babel/runtime":{"optional":true},"@babel/plugin-transform-runtime":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.2.1_1773399904340_0.9912262027856307","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@rolldown/plugin-babel","version":"0.2.2","keywords":["babel","plugin","rolldown","rolldown-plugin"],"license":"MIT","_id":"@rolldown/plugin-babel@0.2.2","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"dist":{"shasum":"caf945c65fd8504b044420b853a32f4d6f34f01c","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.2.2.tgz","fileCount":5,"integrity":"sha512-q9pE8+47bQNHb5eWVcE6oXppA+JTSwvnrhH53m0ZuHuK5MLvwsLoWrWzBTFQqQ06BVxz1gp0HblLsch8o6pvZw==","signatures":[{"sig":"MEYCIQDXRDUyiPA0xGLb80zo/b2EvOCS070Hktp1pwlEwW4XMAIhAO1p8FXTBbzvCqKXoAGZ8Km1RfN8tfiRFi6FJWqX3+kg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31076},"type":"module","_from":"file:rolldown-plugin-babel-0.2.2.tgz","engines":{"node":">=22.12.0 || ^24.0.0"},"exports":"./dist/index.mjs","scripts":{"dev":"tsdown --watch","test":"vitest --project babel","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"_resolved":"/tmp/6348b5b0e07f0a52dc115ea805fac18f/rolldown-plugin-babel-0.2.2.tgz","_integrity":"sha512-q9pE8+47bQNHb5eWVcE6oXppA+JTSwvnrhH53m0ZuHuK5MLvwsLoWrWzBTFQqQ06BVxz1gp0HblLsch8o6pvZw==","repository":{"url":"git+https://github.com/rolldown/plugins.git","type":"git","directory":"packages/babel"},"_npmVersion":"11.11.1","description":"Rolldown plugin for Babel","directories":{},"_nodeVersion":"24.14.0","dependencies":{"picomatch":"^4.0.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","rolldown":"1.0.0-rc.9","@babel/core":"^8.0.0-rc.2","@types/node":"^22.19.15","@babel/runtime":"^8.0.0-rc.2","@types/picomatch":"^4.0.2","@babel/plugin-transform-runtime":"^8.0.0-rc.2","@babel/plugin-proposal-decorators":"^8.0.0-rc.2"},"peerDependencies":{"vite":"^8.0.0","rolldown":"^1.0.0-rc.5","@babel/core":"^7.29.0 || ^8.0.0-rc.1","@babel/runtime":"^7.27.0 || ^8.0.0-rc.1","@babel/plugin-transform-runtime":"^7.29.0 || ^8.0.0-rc.1"},"compatiblePackages":{"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"},"schemaVersion":1},"peerDependenciesMeta":{"vite":{"optional":true},"@babel/runtime":{"optional":true},"@babel/plugin-transform-runtime":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/plugin-babel_0.2.2_1773811535082_0.9900497925019918","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@rolldown/plugin-babel","version":"0.2.3","description":"Rolldown plugin for Babel","keywords":["babel","plugin","rolldown","rolldown-plugin"],"homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","bugs":{"url":"https://github.com/rolldown/plugins/issues"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rolldown/plugins.git","directory":"packages/babel"},"type":"module","exports":"./dist/index.mjs","dependencies":{"picomatch":"^4.0.4"},"devDependencies":{"@babel/core":"^8.0.0-rc.3","@babel/plugin-proposal-decorators":"^8.0.0-rc.3","@babel/plugin-transform-runtime":"^8.0.0-rc.3","@babel/runtime":"^8.0.0-rc.3","@types/node":"^24.12.2","@types/picomatch":"^4.0.3","rolldown":"1.0.0-rc.15","vite":"^8.0.8"},"peerDependencies":{"@babel/core":"^7.29.0 || ^8.0.0-rc.1","@babel/plugin-transform-runtime":"^7.29.0 || ^8.0.0-rc.1","@babel/runtime":"^7.27.0 || ^8.0.0-rc.1","rolldown":"^1.0.0-rc.5","vite":"^8.0.0"},"peerDependenciesMeta":{"@babel/plugin-transform-runtime":{"optional":true},"@babel/runtime":{"optional":true},"vite":{"optional":true}},"engines":{"node":">=22.12.0 || ^24.0.0"},"compatiblePackages":{"schemaVersion":1,"rollup":{"type":"incompatible","reason":"Uses Rolldown-specific APIs"}},"scripts":{"dev":"tsdown --watch","build":"tsdown","test":"vitest --project babel"},"_id":"@rolldown/plugin-babel@0.2.3","_integrity":"sha512-+zEk16yGlz1F9STiRr6uG9hmIXb6nprjLczV/htGptYuLoCuxb+itZ03RKCEeOhBpDDd1NU7qF6x1VLMUp62bw==","_resolved":"/tmp/99e157738ada1b8a0206f88f8206c8db/rolldown-plugin-babel-0.2.3.tgz","_from":"file:rolldown-plugin-babel-0.2.3.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.12.1","dist":{"integrity":"sha512-+zEk16yGlz1F9STiRr6uG9hmIXb6nprjLczV/htGptYuLoCuxb+itZ03RKCEeOhBpDDd1NU7qF6x1VLMUp62bw==","shasum":"94f2c897285160aab1a7cfe827cbca1b7233e4f4","tarball":"https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.2.3.tgz","fileCount":5,"unpackedSize":31384,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rolldown%2fplugin-babel@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAhPfL1qJF1bRRRm50tU+OzxbHIXpM/OKkGRYABFmNHVAiABBR6M3v0G+QFgTmpjgBLrMoU3/jettJ/UvIk9L7g84w=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bafd3f6-f66f-442e-ba37-7ad805bac0aa"}},"directories":{},"maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-babel_0.2.3_1776094356591_0.13999747792400608"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-26T12:45:55.398Z","modified":"2026-04-13T15:32:37.037Z","0.1.0":"2026-02-26T12:45:55.648Z","0.1.2":"2026-02-26T13:01:48.995Z","0.1.3":"2026-02-26T13:04:26.197Z","0.1.4":"2026-02-26T14:16:27.153Z","0.1.5":"2026-02-27T05:18:47.505Z","0.1.6":"2026-02-27T06:29:33.473Z","0.1.7":"2026-03-02T06:46:10.114Z","0.1.8":"2026-03-03T07:15:23.173Z","0.2.0":"2026-03-05T06:55:14.718Z","0.2.1":"2026-03-13T11:05:04.486Z","0.2.2":"2026-03-18T05:25:35.219Z","0.2.3":"2026-04-13T15:32:36.736Z"},"bugs":{"url":"https://github.com/rolldown/plugins/issues"},"license":"MIT","homepage":"https://github.com/rolldown/plugins/tree/main/packages/babel#readme","keywords":["babel","plugin","rolldown","rolldown-plugin"],"repository":{"type":"git","url":"git+https://github.com/rolldown/plugins.git","directory":"packages/babel"},"description":"Rolldown plugin for Babel","maintainers":[{"name":"broooooklyn","email":"lynweklm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"rolldownbot","email":"rolldown@voidzero.dev"},{"name":"sapphi-red","email":"green@sapphi.red"}],"readme":"# @rolldown/plugin-babel [![npm](https://img.shields.io/npm/v/@rolldown/plugin-babel.svg)](https://npmx.dev/package/@rolldown/plugin-babel)\n\nRolldown plugin for transforming code with [Babel](https://babeljs.io/).\n\n## Install\n\n```bash\npnpm add -D @rolldown/plugin-babel @babel/core\n```\n\nIf you are using TypeScript, you will also need to install `@types/babel__core`:\n\n```bash\npnpm add -D @types/babel__core\n```\n\n## Usage\n\n```js\nimport babel from '@rolldown/plugin-babel'\n\nexport default {\n  plugins: [\n    babel({\n      plugins: ['@babel/plugin-proposal-throw-expressions'],\n    }),\n  ],\n}\n```\n\nThe plugin automatically configures Babel's parser for `.jsx`, `.ts`, and `.tsx` files.\n\n> **Note:** This plugin does not load Babel configuration files (e.g., `babel.config.js`, `.babelrc`). All Babel options must be passed directly through the plugin options.\n\n## Options\n\n### `include`\n\n- **Type:** `string | RegExp | (string | RegExp)[]`\n- **Default:** `/\\.(?:[jt]sx?|[cm][jt]s)(?:$|\\?)/`\n\nOnly files matching the pattern will be processed.\n\nNote that this option receives [the syntax supported by babel](https://babeljs.io/docs/options#matchpattern) instead of picomatch.\n\n### `exclude`\n\n- **Type:** `string | RegExp | (string | RegExp)[]`\n- **Default:** `/[\\/\\\\]node_modules[\\/\\\\]|\\0rolldown\\/runtime\\.js/`\n\nFiles matching the pattern will be skipped. The default also excludes Rolldown's runtime helper module (`\\0rolldown/runtime.js`) so that Babel does not transform Rolldown's internal runtime code. If you override `exclude`, you are responsible for re-adding any of these entries you still want to skip.\n\nNote that this option receives [the syntax supported by babel](https://babeljs.io/docs/options#matchpattern) instead of picomatch.\n\n### `sourceMap`\n\n- **Type:** `boolean`\n- **Default:** `true`\n\nSet to `false` to skip source map generation for better performance.\n\n### `presets`\n\n- **Type:** `(babel.PresetItem | RolldownBabelPreset)[]`\n\nList of Babel presets to apply. Supports both standard Babel presets and Rolldown-enhanced presets with per-file filtering (see [Rolldown Babel Presets](#rolldown-babel-presets)).\n\n### `plugins`\n\n- **Type:** `babel.PluginItem[]`\n\nList of Babel plugins to apply.\n\n### `overrides`\n\n- **Type:** `InnerTransformOptions[]`\n\nArray of additional configurations that are merged into the current configuration. Use with Babel's `test`/`include`/`exclude` options to conditionally apply overrides.\n\n### `runtimeVersion`\n\n- **Type:** `string`\n\nWhen set, automatically adds [`@babel/plugin-transform-runtime`](https://babeljs.io/docs/babel-plugin-transform-runtime) so that Babel helpers are imported from `@babel/runtime` instead of being inlined into every file. This deduplicates helpers across modules and reduces bundle size.\n\nThe value is the version of `@babel/runtime` that is assumed to be installed. If you are externalizing `@babel/runtime` (for example, you are packaging a library), you should set the version range of `@babel/runtime` in your package.json. If you are bundling `@babel/runtime` for your application, you should set the version of `@babel/runtime` that is installed.\n\n```bash\npnpm add -D @babel/plugin-transform-runtime @babel/runtime\n```\n\n```js\nimport babel from '@rolldown/plugin-babel'\n\n// if you are externalizing @babel/runtime\nimport fs from 'node:fs'\nimport path from 'node:path'\nconst packageJson = JSON.parse(\n  fs.readFileSync(path.join(import.meta.dirname, 'package.json'), 'utf8'),\n)\nconst babelRuntimeVersion = packageJson.dependencies['@babel/runtime']\n\n// if you are bundling @babel/runtime\nimport babelRuntimePackageJson from '@babel/runtime/package.json'\nconst babelRuntimeVersion = babelRuntimePackageJson.version\n\nexport default {\n  plugins: [\n    babel({\n      runtimeVersion: babelRuntimeVersion,\n      plugins: ['@babel/plugin-proposal-decorators'],\n    }),\n  ],\n}\n```\n\n### Other Babel options\n\nThe following [Babel options](https://babeljs.io/docs/options) are forwarded directly:\n\n`assumptions`, `auxiliaryCommentAfter`, `auxiliaryCommentBefore`, `comments`, `compact`, `cwd`, `generatorOpts`, `parserOpts`, `retainLines`, `shouldPrintComment`, `targets`, `wrapPluginVisitorMethod`\n\n## Rolldown Babel Presets\n\nStandard Babel presets are applied to every file. When a preset should only apply to certain files, wrap it in a `RolldownBabelPreset` with a `filter`. Use the `defineRolldownBabelPreset` helper for type checking:\n\n```js\nimport babelPlugin, { defineRolldownBabelPreset } from '@rolldown/plugin-babel'\n\nconst myReactPreset = defineRolldownBabelPreset({\n  preset: ['@babel/preset-react'],\n  rolldown: {\n    filter: {\n      id: /\\.tsx?$/,\n      moduleType: ['tsx', 'jsx'],\n      code: /from ['\"]react['\"]/,\n    },\n  },\n})\n\nexport default {\n  plugins: [\n    babelPlugin({\n      presets: [myReactPreset],\n    }),\n  ],\n}\n```\n\n### Filter dimensions\n\nAll filter dimensions are optional. When multiple dimensions are specified, all must match for the preset to apply.\n\n#### `id`\n\nMatch files by path. Accepts a string glob, RegExp, array, or `{ include, exclude }` object.\n\n```js\n{ id: /\\.tsx$/ }\n{ id: '**/*.tsx' }\n{ id: [/\\.tsx$/, /\\.jsx$/] }\n{ id: { include: [/\\.tsx$/], exclude: [/test\\.tsx$/] } }\n```\n\n#### `moduleType`\n\nMatch by Rolldown module type. Accepts a string array or `{ include }` object.\n\n```js\n{\n  moduleType: ['tsx', 'jsx']\n}\n{\n  moduleType: {\n    include: ['tsx']\n  }\n}\n```\n\n#### `code`\n\nMatch by file content. Accepts a RegExp, array, or `{ include, exclude }` object.\n\n```js\n{ code: /import React/ }\n{ code: { include: [/import React/], exclude: [/\\/\\/ @no-transform/] } }\n```\n\n### `configResolvedHook`\n\nWhen used with Vite, a preset can define a `configResolvedHook` callback to conditionally enable or disable itself based on the resolved Vite config, similar to [`configResolved` hook](https://vite.dev/guide/api-plugin#configresolved). The callback receives the `ResolvedConfig` and should return `false` to remove the preset.\n\n```js\ndefineRolldownBabelPreset({\n  preset: ['@babel/preset-react'],\n  rolldown: {\n    filter: { id: /\\.[jt]sx$/ },\n    configResolvedHook(config) {\n      // Only apply during production builds\n      return config.command === 'build'\n    },\n  },\n})\n```\n\nWhen running without Vite (pure Rolldown), `configResolvedHook` is ignored.\n\n### `applyToEnvironmentHook`\n\nWhen used with Vite, a preset can define an `applyToEnvironmentHook` callback to conditionally enable or disable itself based on the Vite environment, similar to [`applyToEnvironment` hook](https://vite.dev/guide/api-environment-plugins#per-environment-plugins). The callback receives the `PartialEnvironment` and should return `false` to remove the preset for that environment.\n\n```js\ndefineRolldownBabelPreset({\n  preset: ['@babel/preset-react'],\n  rolldown: {\n    filter: { id: /\\.[jt]sx$/ },\n    applyToEnvironmentHook(environment) {\n      // Only apply in the client environment\n      return environment.name === 'client'\n    },\n  },\n})\n```\n\nWhen running without Vite (pure Rolldown), `applyToEnvironmentHook` is ignored.\n\n### `optimizeDeps`\n\nA preset can declare dependencies that should be pre-bundled by Vite's dependency optimizer. The plugin automatically merges these into [`optimizeDeps.include`](https://vite.dev/config/dep-optimization-options#optimizedeps-include) in the Vite config.\n\n```js\ndefineRolldownBabelPreset({\n  preset: ['@babel/preset-react'],\n  rolldown: {\n    filter: { id: /\\.[jt]sx$/ },\n    optimizeDeps: {\n      include: ['react', 'react-dom'],\n    },\n  },\n})\n```\n\nWhen running without Vite (pure Rolldown), `optimizeDeps` is ignored.\n\n### How preset filters work\n\nPreset filters operate at two levels:\n\n1. **Per-file filtering** — When Rolldown calls the transform hook, each preset's filter is checked against the current file. Presets whose filter doesn't match are skipped for that file.\n\n2. **Transform hook pre-filtering** — The plugin computes a union of all preset filters to tell Rolldown which files to send to the transform hook in the first place. This avoids calling into the plugin for files that no preset would match.\n\nYou can mix standard Babel presets and Rolldown presets freely:\n\n```js\nbabelPlugin({\n  presets: [\n    '@babel/preset-env', // applied to all files\n    {\n      preset: ['@babel/preset-react'],\n      rolldown: { filter: { id: /\\.[jt]sx$/ } },\n    },\n  ],\n})\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}