JSPM

@vue/babel-preset-app

3.0.0-beta.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 553379
  • Score
    100M100P100Q188443F
  • License MIT

babel-preset-app for vue-cli

Package Exports

  • @vue/babel-preset-app
  • @vue/babel-preset-app/package.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vue/babel-preset-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@vue/babel-preset-app

This is the default Babel preset used in all Vue CLI projects.

Included

Options

  • modules

    Default:

    • false when building with webpack
    • 'commonjs' when running tests in Jest.

    Explicitly set modules option for babel-preset-env. See babel-preset-env docs for more details.

  • targets

    Default:

    • determined from browserslist field in package.json when building for browsers
    • set to { node: 'current' } when running unit tests in Node.js

    Explicitly set targets option for babel-preset-env. See babel-preset-env docs for more details.

  • useBuiltIns

    Default: 'usage'

    Explicitly set useBuiltIns option for babel-preset-env. See babel-preset-env docs for more details.

  • jsx

    Default: true. Set to false to disable JSX support.