# babel-preset-vue-app

> Complete babel presets for a Vue app.

Latest version **2.0.0** (published 2017-12-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-preset-vue-app
pnpm add babel-preset-vue-app
yarn add babel-preset-vue-app
bun add babel-preset-vue-app
```

## 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 | 2017-12-06 |
| First published | 2017-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 124 |
| Author | egoist |
| Maintainers | rem, yyx990803 |

## Links

- npm: https://www.npmjs.com/package/babel-preset-vue-app
- Repository: https://github.com/egoist/babel-preset-vue-app
- Homepage: https://github.com/egoist/babel-preset-vue-app#readme
- Issues: https://github.com/egoist/babel-preset-vue-app/issues
- npm.io page: https://npm.io/package/babel-preset-vue-app

## Dependencies (6)

- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.20.0
- [babel-preset-env](https://npm.io/package/babel-preset-env.md) ^1.6.0
- [babel-preset-vue](https://npm.io/package/babel-preset-vue.md) ^2.0.0
- [babel-plugin-transform-runtime](https://npm.io/package/babel-plugin-transform-runtime.md) ^6.15.0
- [babel-plugin-syntax-dynamic-import](https://npm.io/package/babel-plugin-syntax-dynamic-import.md) ^6.18.0
- [babel-plugin-transform-object-rest-spread](https://npm.io/package/babel-plugin-transform-object-rest-spread.md) ^6.26.0

## Recent versions

- 2.0.0 (latest) — 2017-12-06
- 1.3.2 — 2017-11-16
- 1.3.1 — 2017-09-22
- 1.3.0 — 2017-09-04
- 1.2.1 — 2017-08-18
- 1.2.0 — 2017-04-17
- 1.1.1 — 2017-04-06
- 1.1.0 — 2017-04-06
- 1.0.0 — 2017-03-30
- 0.5.1 — 2017-03-22
- 0.5.0 — 2017-03-12
- 0.4.0 — 2017-01-18
- 0.3.0 — 2017-01-18
- 0.2.0 — 2017-01-18
- 0.1.0 — 2017-01-18

## README

# babel-preset-vue-app

[![NPM version](https://img.shields.io/npm/v/babel-preset-vue-app.svg?style=flat)](https://npmjs.com/package/babel-preset-vue-app) [![NPM downloads](https://img.shields.io/npm/dm/babel-preset-vue-app.svg?style=flat)](https://npmjs.com/package/babel-preset-vue-app)

## Features

- Latest ECMAScript features (babel-preset-env)
- Object rest spread and dynamic import
- Transform Vue JSX
- Transform `generator` and `async/await`

## Install

```bash
yarn add babel-preset-vue-app --dev
```

## Usage

```js
// .babelrc
{
  "presets": ["vue-app"]
}
```

## Options

### useBuiltIns

Type: `boolean`<br>
Default: `false`

Disable runtime transform. i.e. do not add helpers and polyfill for unsupported features of target environment, eg: `Object.assign`, `Promise`

As we're using `babel-plugin-transform-runtime` to polyfill your code without polluting globals, something like `"foobar".includes("foo")` will not work since that would require modification of existing builtins. See [babel-plugin-transform-runtime](https://www.npmjs.com/package/babel-plugin-transform-runtime).

### targets

Type: `object`<br>
Default: `{ node: 'current' }` when `env` is `test` or `{ ie: 9, uglify: true }` otherwise.

Takes an object of environment versions to support.

As we're using `babel-preset-env` to determine the Babel plugins and polyfills you need, this option lets you adjust your supported environments. See `targets` in [babel-preset-env](https://github.com/babel/babel-preset-env).

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D


## License

MIT.

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