@vue/cli-plugin-babel
babel plugin for vue-cli
Last updated 13 days 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.4.6                                ...           latest (13 days ago)
  • 4.4.1                                ...           next (a month ago)

109 Versions

  • 4.4.6                                ...           13 days ago
  • 4.4.5                                ...           14 days ago
  • 4.4.4                                ...           24 days ago
  • 4.4.3                                ...           25 days ago
  • 4.4.2                                ...           25 days ago
  • 4.4.1                                ...           a month ago
  • 4.4.0                                ...           2 months ago
  • 4.3.1                                ...           3 months ago
  • 4.3.0                                ...           3 months ago
  • 4.2.3                                ...           4 months ago
  • 4.2.2                                ...           5 months ago
  • 4.2.1                                ...           5 months ago
  • 4.2.0                                ...           5 months ago
  • 4.1.2                                ...           6 months ago
  • 4.1.1                                ...           7 months ago
  • 4.1.0                                ...           7 months ago
  • 4.1.0-beta.0                                ...           8 months ago
  • 4.0.5                                ...           8 months ago
  • 3.12.1                                ...           9 months ago
  • 4.0.4                                ...           9 months ago
  • 4.0.3                                ...           9 months ago
  • 4.0.2                                ...           9 months ago
  • 4.0.0                                ...           9 months ago
  • 4.0.0-rc.8                                ...           9 months ago
  • 3.12.0                                ...           9 months ago
  • 4.0.0-rc.7                                ...           9 months ago
  • 4.0.0-rc.6                                ...           9 months ago
  • 4.0.0-rc.5                                ...           9 months ago
  • 4.0.0-rc.4                                ...           9 months ago
  • 4.0.0-rc.3                                ...           10 months ago
  • 4.0.0-rc.2                                ...           10 months ago
  • 4.0.0-rc.1                                ...           10 months ago
  • 3.11.0                                ...           a year ago
  • 4.0.0-rc.0                                ...           a year ago
  • 4.0.0-beta.3                                ...           a year ago
  • 3.10.0                                ...           a year ago
  • 4.0.0-beta.2                                ...           a year ago
  • 4.0.0-beta.1                                ...           a year ago
  • 4.0.0-beta.0                                ...           a year ago
  • 4.0.0-alpha.5                                ...           a year ago
  • 4.0.0-alpha.4                                ...           a year ago
  • 3.9.2                                ...           a year ago
  • 4.0.0-alpha.3                                ...           a year ago
  • 3.9.0                                ...           a year ago
  • 4.0.0-alpha.2                                ...           a year ago
  • 3.8.0                                ...           a year ago
  • 4.0.0-alpha.1                                ...           a year ago
  • 4.0.0-alpha.0                                ...           a year ago
  • 3.7.0                                ...           a year ago
  • 3.6.0                                ...           a year ago
  • 3.5.5                                ...           a year ago
  • 3.5.4                                ...           a year ago
  • 3.5.3                                ...           a year 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                                ...           2 years ago
  • 3.2.0                                ...           2 years ago
  • 3.1.1                                ...           2 years ago
  • 3.1.0                                ...           2 years ago
  • 3.0.5                                ...           2 years ago
  • 3.0.4                                ...           2 years ago
  • 3.0.3                                ...           2 years ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 3.0.0-rc.12                                ...           2 years ago
  • 3.0.0-rc.11                                ...           2 years ago
  • 3.0.0-rc.10                                ...           2 years 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
Maintainers (2)
Downloads
Today 836
This Week 21,914
This Month 99,444
Last Day 21,078
Last Week 121,041
Last Month 516,471
Dependencies (7)
Dev Dependencies (1)
Dependents (118)

Copyright 2014 - 2016 © taobao.org |