# babel-plugin-b-rc

> A babel plugin work for b-rc and b-rc-m

Latest version **2.0.0** (published 2018-05-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-b-rc
pnpm add babel-plugin-b-rc
yarn add babel-plugin-b-rc
bun add babel-plugin-b-rc
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2018-05-15 |
| First published | 2018-05-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | strongcode9527 |
| Maintainers | strong9527 |
| Keywords | babel, babel-plugin, b-rc, b-rc-m |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-b-rc
- Repository: https://github.com/Mi-FanFan/babel-plugin-b-rc
- Homepage: https://github.com/Mi-FanFan/babel-plugin-b-rc#readme
- Issues: https://github.com/Mi-FanFan/babel-plugin-b-rc/issues
- npm.io page: https://npm.io/package/babel-plugin-b-rc

## Dependencies (6)

- [babel-types](https://npm.io/package/babel-types.md) ^6.26.0
- [babel-register](https://npm.io/package/babel-register.md) ^6.26.0
- [babel-template](https://npm.io/package/babel-template.md) ^6.26.0
- [babel-traverse](https://npm.io/package/babel-traverse.md) ^6.26.0
- [babel-generator](https://npm.io/package/babel-generator.md) ^6.26.1
- [@babel/helper-module-imports](https://npm.io/package/@babel/helper-module-imports.md) ^7.0.0-beta.46

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2018-05-15
- 1.5.1 — 2018-05-15
- 1.5.0 — 2018-05-15
- 1.4.0 — 2018-05-15
- 1.3.0 — 2018-05-14
- 1.2.0 — 2018-05-14
- 1.1.1 — 2018-05-11
- 1.1.0 — 2018-05-11
- 1.0.3 — 2018-05-11
- 1.0.2 — 2018-05-11
- 1.0.1 — 2018-05-11
- 1.0.0 — 2018-05-11

## README

# babel-plugin-b-rc
A babel plugin work for b-rc and b-rc-m in order to support tree-shaking.


.babelrc

```

{
  "plugins": [
    ["b-rc", {style: true}],  // set the style param will import the style files.
  ]
}


```


from 

```

import {Refresh, DatePicker} from 'b-rc-m'

```

to

```

// if style is assigned as true.
import 'b-rc-m/lib/refresh/style'
import b-rc-m/lib/data-picker/style'

import Refresh from 'b-rc-m/lib/refresh'
import DatePicker from 'b-rc-m/lib/date-picker'

```

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