# babel-preset-umi

> Yet another babel preset.

Latest version **1.8.4** (published 2020-03-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-preset-umi
pnpm add babel-preset-umi
yarn add babel-preset-umi
bun add babel-preset-umi
```

## 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 | 1.8.4 |
| Published | 2020-03-27 |
| First published | 2017-12-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 22 |
| Unpacked size | 19.1 KB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | sorrycc, ycjcl868, yutingzhao1991 |

## Links

- npm: https://www.npmjs.com/package/babel-preset-umi
- Repository: https://github.com/umijs/umi/tree/master/packages/babel-preset-umi
- Issues: https://github.com/umijs/umi/issues
- npm.io page: https://npm.io/package/babel-preset-umi

## Dependencies (22)

- [@babel/core](https://npm.io/package/@babel/core.md) 7.4.5
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) 7.4.5
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) 7.4.5
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) 7.0.0
- [babel-plugin-macros](https://npm.io/package/babel-plugin-macros.md) 2.6.1
- [babel-plugin-react-require](https://npm.io/package/babel-plugin-react-require.md) 3.0.0
- [@babel/plugin-transform-runtime](https://npm.io/package/@babel/plugin-transform-runtime.md) 7.4.4
- [@babel/plugin-proposal-decorators](https://npm.io/package/@babel/plugin-proposal-decorators.md) 7.4.4
- [@babel/plugin-syntax-dynamic-import](https://npm.io/package/@babel/plugin-syntax-dynamic-import.md) 7.2.0
- [@babel/plugin-proposal-function-bind](https://npm.io/package/@babel/plugin-proposal-function-bind.md) 7.2.0
- [@babel/plugin-proposal-do-expressions](https://npm.io/package/@babel/plugin-proposal-do-expressions.md) 7.2.0
- [@babel/plugin-transform-destructuring](https://npm.io/package/@babel/plugin-transform-destructuring.md) 7.4.4
- [@babel/plugin-proposal-class-properties](https://npm.io/package/@babel/plugin-proposal-class-properties.md) 7.4.4
- [@babel/plugin-proposal-optional-chaining](https://npm.io/package/@babel/plugin-proposal-optional-chaining.md) 7.2.0
- [@babel/plugin-proposal-pipeline-operator](https://npm.io/package/@babel/plugin-proposal-pipeline-operator.md) 7.3.2
- [@babel/plugin-proposal-object-rest-spread](https://npm.io/package/@babel/plugin-proposal-object-rest-spread.md) 7.4.4
- [@babel/plugin-proposal-export-default-from](https://npm.io/package/@babel/plugin-proposal-export-default-from.md) 7.2.0
- [@babel/plugin-proposal-export-namespace-from](https://npm.io/package/@babel/plugin-proposal-export-namespace-from.md) 7.2.0
- [@babel/plugin-proposal-optional-catch-binding](https://npm.io/package/@babel/plugin-proposal-optional-catch-binding.md) 7.2.0
- [babel-plugin-transform-react-remove-prop-types](https://npm.io/package/babel-plugin-transform-react-remove-prop-types.md) 0.4.24
- [@babel/plugin-proposal-async-generator-functions](https://npm.io/package/@babel/plugin-proposal-async-generator-functions.md) 7.2.0
- [@babel/plugin-proposal-nullish-coalescing-operator](https://npm.io/package/@babel/plugin-proposal-nullish-coalescing-operator.md) 7.4.4

## Recent versions

- 1.8.4 (latest) — 2020-03-27
- 1.8.2-beta.1 (next) — 2020-01-03
- 1.8.3 — 2020-01-14
- 1.8.2 — 2020-01-03
- 1.8.1 — 2019-10-10
- 1.8.0 — 2019-09-29
- 1.7.0 — 2019-09-12
- 1.7.0-beta.2 — 2019-08-31
- 1.7.0-beta.1 — 2019-08-23
- 1.6.1 — 2019-08-09
- 1.6.0 — 2019-06-20
- 1.5.0 — 2019-06-03
- 1.5.0-beta.3 — 2019-06-03
- 1.5.0-beta.2 — 2019-05-22
- 1.4.1 — 2019-03-21
- … 64 more at https://npm.io/package/babel-preset-umi/versions

## README

# babel-preset-umi

Yet another babel preset.

## Options

### browsers

Notice: browsers don't work if targets is specified.

```js
["umi", {
  "browsers": ['last 2 versions']
}]
```

### targets

e.g.

```js
["umi", {
  "targets": {
    "browsers": ['last 2 versions']
  }
}]
```

or

```js
["umi", {
  "targets": {
    "node": "6"
  }
}]
```

### commonjs

### transformRuntime

### preact

### debug

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