@vue/cli-plugin-babel
babel plugin for vue-cli
Last updated a month ago by soda .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @vue/cli-plugin-babel 
SYNC missed versions from official npm registry.

@vue/cli-plugin-babel

babel plugin for vue-cli

Configuration

Uses Babel 7 + babel-loader + @vue/babel-preset-app by default, but can be configured via babel.config.js to use any other Babel presets or plugins.

By default, babel-loader excludes files inside node_modules dependencies. If you wish to explicitly transpile a dependency module, you will need to add it to the transpileDependencies option in vue.config.js:

module.exports = {
  transpileDependencies: [
    // can be string or regex
    'my-dep',
    /other-dep/
  ]
}

Caching

cache-loader is enabled by default and cache is stored in <projectRoot>/node_modules/.cache/babel-loader.

Parallelization

thread-loader is enabled by default when the machine has more than 1 CPU cores. This can be turned off by setting parallel: false in vue.config.js.

Installing in an Already Created Project

vue add babel

Injected webpack-chain Rules

  • config.rule('js')
  • config.rule('js').use('babel-loader')
  • config.rule('js').use('cache-loader')

Current Tags

  • 4.1.2                                ...           latest (a month ago)
  • 4.1.0                                ...           next (2 months ago)

96 Versions

  • 4.1.2                                ...           a month ago
  • 4.1.1                                ...           2 months ago
  • 4.1.0                                ...           2 months ago
  • 4.1.0-beta.0                                ...           3 months ago
  • 4.0.5                                ...           3 months ago
  • 3.12.1                                ...           3 months ago
  • 4.0.4                                ...           3 months ago
  • 4.0.3                                ...           3 months ago
  • 4.0.2                                ...           3 months ago
  • 4.0.0                                ...           3 months ago
  • 4.0.0-rc.8                                ...           4 months ago
  • 3.12.0                                ...           4 months ago
  • 4.0.0-rc.7                                ...           4 months ago
  • 4.0.0-rc.6                                ...           4 months ago
  • 4.0.0-rc.5                                ...           4 months ago
  • 4.0.0-rc.4                                ...           4 months ago
  • 4.0.0-rc.3                                ...           5 months ago
  • 4.0.0-rc.2                                ...           5 months ago
  • 4.0.0-rc.1                                ...           5 months ago
  • 3.11.0                                ...           5 months ago
  • 4.0.0-rc.0                                ...           5 months ago
  • 4.0.0-beta.3                                ...           6 months ago
  • 3.10.0                                ...           6 months ago
  • 4.0.0-beta.2                                ...           6 months ago
  • 4.0.0-beta.1                                ...           6 months ago
  • 4.0.0-beta.0                                ...           6 months ago
  • 4.0.0-alpha.5                                ...           6 months ago
  • 4.0.0-alpha.4                                ...           7 months ago
  • 3.9.2                                ...           7 months ago
  • 4.0.0-alpha.3                                ...           7 months ago
  • 3.9.0                                ...           7 months ago
  • 4.0.0-alpha.2                                ...           7 months ago
  • 3.8.0                                ...           8 months ago
  • 4.0.0-alpha.1                                ...           8 months ago
  • 4.0.0-alpha.0                                ...           9 months ago
  • 3.7.0                                ...           9 months ago
  • 3.6.0                                ...           10 months ago
  • 3.5.5                                ...           10 months ago
  • 3.5.4                                ...           10 months ago
  • 3.5.3                                ...           10 months ago
  • 3.5.1                                ...           a year ago
  • 3.5.0                                ...           a year ago
  • 3.4.1                                ...           a year ago
  • 3.4.0                                ...           a year ago
  • 3.3.0                                ...           a year ago
  • 3.2.2                                ...           a year ago
  • 3.2.0                                ...           a year ago
  • 3.1.1                                ...           a year ago
  • 3.1.0                                ...           a year ago
  • 3.0.5                                ...           a year ago
  • 3.0.4                                ...           a year ago
  • 3.0.3                                ...           a year ago
  • 3.0.2                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 3.0.0-rc.12                                ...           a year ago
  • 3.0.0-rc.11                                ...           a year ago
  • 3.0.0-rc.10                                ...           a year ago
  • 3.0.0-rc.9                                ...           2 years ago
  • 3.0.0-rc.8                                ...           2 years ago
  • 3.0.0-rc.7                                ...           2 years ago
  • 3.0.0-rc.6                                ...           2 years ago
  • 3.0.0-rc.5                                ...           2 years ago
  • 3.0.0-rc.4                                ...           2 years ago
  • 3.0.0-rc.3                                ...           2 years ago
  • 3.0.0-rc.2                                ...           2 years ago
  • 3.0.0-rc.1                                ...           2 years ago
  • 3.0.0-beta.16                                ...           2 years ago
  • 3.0.0-beta.15                                ...           2 years ago
  • 3.0.0-beta.14                                ...           2 years ago
  • 3.0.0-beta.13                                ...           2 years ago
  • 3.0.0-beta.12                                ...           2 years ago
  • 3.0.0-beta.11                                ...           2 years ago
  • 3.0.0-beta.10                                ...           2 years ago
  • 3.0.0-beta.9                                ...           2 years ago
  • 3.0.0-beta.8                                ...           2 years ago
  • 3.0.0-beta.7                                ...           2 years ago
  • 3.0.0-beta.6                                ...           2 years ago
  • 3.0.0-beta.5                                ...           2 years ago
  • 3.0.0-beta.4                                ...           2 years ago
  • 3.0.0-beta.3                                ...           2 years ago
  • 3.0.0-beta.2                                ...           2 years ago
  • 3.0.0-beta.1                                ...           2 years ago
  • 3.0.0-alpha.13                                ...           2 years ago
  • 3.0.0-alpha.12                                ...           2 years ago
  • 3.0.0-alpha.11                                ...           2 years ago
  • 3.0.0-alpha.10                                ...           2 years ago
  • 3.0.0-alpha.9                                ...           2 years ago
  • 3.0.0-alpha.8                                ...           2 years ago
  • 3.0.0-alpha.7                                ...           2 years ago
  • 3.0.0-alpha.6                                ...           2 years ago
  • 3.0.0-alpha.5                                ...           2 years ago
  • 3.0.0-alpha.4                                ...           2 years ago
  • 3.0.0-alpha.3                                ...           2 years ago
  • 3.0.0-alpha.2                                ...           2 years ago
  • 3.0.0-alpha.1                                ...           2 years ago
Downloads
Today 865
This Week 5,920
This Month 204,233
Last Day 2,748
Last Week 24,067
Last Month 305,226
Dependencies (7)
Dev Dependencies (1)

Copyright 2014 - 2017 © taobao.org |