Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-vue-app

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-vue-app

Complete babel presets for a Vue app.

  • 1.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16K
decreased by-0.03%
Maintainers
2
Weekly downloads
 
Created
Source

babel-preset-vue-app

NPM version NPM downloads

Features

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

Install

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

Usage

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

Options

useBuiltIns

Type: boolean
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.

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.

FAQs

Package last updated on 18 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc