# @rsbuild/plugin-babel

> Babel plugin for Rsbuild

Latest version **2.1.0** (published 2026-08-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @rsbuild/plugin-babel
pnpm add @rsbuild/plugin-babel
yarn add @rsbuild/plugin-babel
bun add @rsbuild/plugin-babel
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2026-08-18 |
| First published | 2023-10-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 7 |
| Unpacked size | 17.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3386 |
| Maintainers | chenjiahan, hardfist3 |

## Links

- npm: https://www.npmjs.com/package/@rsbuild/plugin-babel
- Repository: https://github.com/web-infra-dev/rsbuild
- Homepage: https://rsbuild.rs
- Issues: https://github.com/web-infra-dev/rsbuild/issues
- npm.io page: https://npm.io/package/@rsbuild/plugin-babel

## Dependencies (7)

- [@babel/core](https://npm.io/package/@babel/core.md) ^7.29.7
- [babel-loader](https://npm.io/package/babel-loader.md) 10.1.1
- [reduce-configs](https://npm.io/package/reduce-configs.md) ^1.1.2
- [@types/babel__core](https://npm.io/package/@types/babel__core.md) ^7.20.5
- [@babel/preset-typescript](https://npm.io/package/@babel/preset-typescript.md) ^7.29.7
- [@babel/plugin-proposal-decorators](https://npm.io/package/@babel/plugin-proposal-decorators.md) ^7.29.7
- [@babel/plugin-transform-class-properties](https://npm.io/package/@babel/plugin-transform-class-properties.md) ^7.29.7

## Recent versions

- 2.1.0 (latest) — 2026-08-18
- 2.0.0-alpha.3 (alpha) — 2026-01-26
- 0.0.0-next-20240729023126 (next) — 2024-07-29
- 0.7.0-beta.9 (beta) — 2024-05-24
- 0.0.0-nightly-20240114070311 (nightly) — 2024-01-14
- 2.0.1 — 2026-07-02
- 2.0.0 — 2026-06-16
- 1.2.1 — 2026-05-30
- 1.2.0 — 2026-05-27
- 1.1.2 — 2026-03-11
- 1.1.1 — 2026-03-02
- 1.1.0 — 2026-01-27
- 1.0.7 — 2026-01-15
- 1.0.6 — 2025-08-04
- 1.0.5 — 2025-04-08
- … 203 more at https://npm.io/package/@rsbuild/plugin-babel/versions

## README

# @rsbuild/plugin-babel

An Rsbuild plugin to use Babel to transpile the code.

<p>
  <a href="https://npmjs.com/package/@rsbuild/plugin-babel">
   <img src="https://img.shields.io/npm/v/@rsbuild/plugin-babel?style=flat-square&colorA=564341&colorB=EDED91" alt="npm version" />
  </a>
  <img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="license" />
  <a href="https://npmcharts.com/compare/@rsbuild/plugin-babel"><img src="https://img.shields.io/npm/dm/@rsbuild/plugin-babel.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="downloads" /></a>
</p>

## Documentation

See [Documentation](https://rsbuild.rs/plugins/list/plugin-babel).

## License

[MIT](https://github.com/web-infra-dev/rsbuild/blob/main/LICENSE).

---
_Source: https://npm.io/package/@rsbuild/plugin-babel · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
