We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d49f784 commit cd5f404Copy full SHA for cd5f404
packages/@vue/cli-plugin-babel/migrator/index.js
@@ -1,15 +1,15 @@
1
const { chalk } = require('@vue/cli-shared-utils')
2
3
module.exports = (api) => {
4
+ api.transformScript('babel.config.js', require('../codemods/usePluginPreset'))
5
+
6
if (api.fromVersion('^3')) {
7
api.extendPackage({
8
dependencies: {
9
'core-js': '^3.1.2'
10
}
11
}, true)
12
- api.transformScript('babel.config.js', require('../codemods/usePluginPreset'))
-
13
// TODO: implement a codemod to migrate polyfills
14
api.exitLog(`core-js has been upgraded from v2 to v3.
15
If you have any custom polyfills defined in ${chalk.yellow('babael.config.js')}, please be aware their names may have been changed.
0 commit comments