5.0.8 • Published 2 years ago

@vue/cli-plugin-babel v5.0.8

Weekly downloads
749,113
License
MIT
Repository
github
Last release
2 years ago

@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 options of babel-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.

parallel should be set to false when using Babel in combination with non-serializable loader options, such as regexes, dates and functions. These options would not be passed correctly to babel-loader which may lead to unexpected errors.

Installing in an Already Created Project

vue add babel

Injected webpack-chain Rules

  • config.rule('js')
  • config.rule('js').use('babel-loader')
@linan919/nan-image-slider@linan919/nan-test@obstinate/vue-scriptassisted-writingvue-cli-plugin-agdkmio-cli-serviceeuaaaio@mimooo/tinylib@gametactic/meta-vue-dev@guomio/cli-service@yujinpan/vue-component-packclim-clim-1@jkyu/emp-vue3@startdt/cli-service-global@yetan/yetan-cli@prefix/studio-editor@linrna/admin-vues-admin-uisparrow-bird-codedependencies-install-test@gentean/smart-build@maywide/admin-element@maywide/element@maywide/h5-element@maywide/television-npmdidaweb-clivvi-ui@infinitebrahmanuniverse/nolb-_vue_hdlocalhd-sfc-clisuwell-weboffice1@everything-registry/sub-chunk-994test-langtest-firefly-componentwlthello-worldvue-maker-plusvue-cli-plugin-yayavue-keypressvue-leader-line-nzweekenderweweb-clientxme-cli-servicexl-form-createshared-dependencies-ctl-test-swathishoushoushipscalra-flexformsasp-form-rendersasp-form-simplesb-vue3-examplesbolviewersparrow-codevue-cli5vite-gardenvue-cli-plugin-netlify-redirectsvue-cli-plugin-netlify-lambdavue-easy-adminvue-cli-plugin-scaffoldvue-cli-plugin-easycloudwhku-cli@fengtengfei/lion-climodule_timelint-cliiteach-menujinwebpackipmp-low-codemagicship-cmslemon-cmdliuyi-vuelibkekcomponentshb-full-clihistory-datai18n-autoinfra-uijump-cli-templatejustkh-apart-modal-componentjquery-cli-servicehbuilderx-clihomebridge-infraspec-uileakpairlcap-eggy-party-h5-loginlcap-eggy-party-loginlcap-h5-eggy-party-loginlcap-h5-iframelcap-h5-loginlcap-loginmopai-uimy-stitch-layermdx-vue-deckpaas-comparerpackages-servepackages-serviceopendocumenterobit-wuininjakatt-plugin-webserverpo-microapp-basereact-cli-servicenetmodular-module-adminextnetmodular-module-commonextnetmodular-module-reportextradiate-framework
5.0.8

2 years ago

5.0.7

2 years ago

5.0.6

2 years ago

5.0.5

2 years ago

4.5.18

2 years ago

4.5.19

2 years ago

5.0.4

3 years ago

5.0.3

3 years ago

5.0.2

3 years ago

4.5.16

3 years ago

4.5.17

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

5.0.0-rc.2

3 years ago

5.0.0-rc.3

3 years ago

5.0.0-rc.1

3 years ago

5.0.0-beta.7

3 years ago

5.0.0-rc.0

3 years ago

4.5.15

3 years ago

5.0.0-beta.6

3 years ago

5.0.0-beta.5

3 years ago

4.5.14

3 years ago

5.0.0-beta.4

3 years ago

5.0.0-beta.3

3 years ago

5.0.0-beta.2

3 years ago

5.0.0-beta.0

4 years ago

5.0.0-beta.1

4 years ago

4.5.13

4 years ago

5.0.0-alpha.8

4 years ago

4.5.12

4 years ago

5.0.0-alpha.7

4 years ago

5.0.0-alpha.6

4 years ago

5.0.0-alpha.5

4 years ago

5.0.0-alpha.4

4 years ago

5.0.0-alpha.3

4 years ago

4.5.11

4 years ago

5.0.0-alpha.2

4 years ago

5.0.0-alpha.1

4 years ago

4.5.10

4 years ago

5.0.0-alpha.0

4 years ago

4.5.9

4 years ago

4.5.8

4 years ago

4.5.7

4 years ago

4.5.6

4 years ago

4.5.5

4 years ago

4.5.4

4 years ago

4.5.3

4 years ago

4.5.2

4 years ago

4.5.1

4 years ago

4.5.0

4 years ago

4.4.6

4 years ago

4.4.5

4 years ago

4.4.3

4 years ago

4.4.2

4 years ago

4.4.4

4 years ago

4.4.1

4 years ago

4.4.0

5 years ago

4.3.1

5 years ago

4.3.0

5 years ago

4.2.3

5 years ago

4.2.2

5 years ago

4.2.1

5 years ago

4.2.0

5 years ago

4.1.2

5 years ago

4.1.1

5 years ago

4.1.0

5 years ago

4.1.0-beta.0

5 years ago

4.0.5

5 years ago

3.12.1

5 years ago

4.0.4

5 years ago

4.0.3

5 years ago

4.0.2

5 years ago

4.0.0

5 years ago

4.0.0-rc.8

5 years ago

3.12.0

5 years ago

4.0.0-rc.7

5 years ago

4.0.0-rc.6

5 years ago

4.0.0-rc.5

5 years ago

4.0.0-rc.4

5 years ago

4.0.0-rc.3

5 years ago

4.0.0-rc.2

5 years ago

4.0.0-rc.1

5 years ago

3.11.0

5 years ago

4.0.0-rc.0

5 years ago

4.0.0-beta.3

5 years ago

3.10.0

5 years ago

4.0.0-beta.2

5 years ago

4.0.0-beta.1

5 years ago

4.0.0-beta.0

5 years ago

4.0.0-alpha.5

5 years ago

4.0.0-alpha.4

5 years ago

3.9.2

5 years ago

4.0.0-alpha.3

5 years ago

3.9.0

5 years ago

4.0.0-alpha.2

5 years ago

3.8.0

6 years ago

4.0.0-alpha.1

6 years ago

4.0.0-alpha.0

6 years ago

3.7.0

6 years ago

3.6.0

6 years ago

3.5.5

6 years ago

3.5.4

6 years ago

3.5.3

6 years ago

3.5.1

6 years ago

3.5.0

6 years ago

3.4.1

6 years ago

3.4.0

6 years ago

3.3.0

6 years ago

3.2.2

6 years ago

3.2.0

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.5

6 years ago

3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

3.0.0-rc.12

6 years ago

3.0.0-rc.11

6 years ago

3.0.0-rc.10

6 years ago

3.0.0-rc.9

6 years ago

3.0.0-rc.8

6 years ago

3.0.0-rc.7

6 years ago

3.0.0-rc.6

6 years ago

3.0.0-rc.5

6 years ago

3.0.0-rc.4

6 years ago

3.0.0-rc.3

6 years ago

3.0.0-rc.2

6 years ago

3.0.0-rc.1

6 years ago

3.0.0-beta.16

6 years ago

3.0.0-beta.15

6 years ago

3.0.0-beta.14

6 years ago

3.0.0-beta.13

6 years ago

3.0.0-beta.12

6 years ago

3.0.0-beta.11

7 years ago

3.0.0-beta.10

7 years ago

3.0.0-beta.9

7 years ago

3.0.0-beta.8

7 years ago

3.0.0-beta.7

7 years ago

3.0.0-beta.6

7 years ago

3.0.0-beta.5

7 years ago

3.0.0-beta.4

7 years ago

3.0.0-beta.3

7 years ago

3.0.0-beta.2

7 years ago

3.0.0-beta.1

7 years ago

3.0.0-alpha.13

7 years ago

3.0.0-alpha.12

7 years ago

3.0.0-alpha.11

7 years ago

3.0.0-alpha.10

7 years ago

3.0.0-alpha.9

7 years ago

3.0.0-alpha.8

7 years ago

3.0.0-alpha.7

7 years ago

3.0.0-alpha.6

7 years ago

3.0.0-alpha.5

7 years ago

3.0.0-alpha.4

7 years ago

3.0.0-alpha.3

7 years ago

3.0.0-alpha.2

7 years ago

3.0.0-alpha.1

7 years ago