mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-06 06:18:38 -06:00
docs(cli-plugin-babel): Fix config file name (#1986)
Replace mention of .babelrc with babel.config.js in README as we now strongly recommend the latter
This commit is contained in:
committed by
Evan You
parent
5a8abe029e
commit
70e4a7b194
@@ -4,7 +4,7 @@
|
||||
|
||||
## Configuration
|
||||
|
||||
Uses Babel 7 + `babel-loader` + [@vue/babel-preset-app](https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/babel-preset-app) by default, but can be configured via `.babelrc` to use any other Babel presets or plugins.
|
||||
Uses Babel 7 + `babel-loader` + [@vue/babel-preset-app](https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/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`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user