You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
496 B
16 lines
496 B
module.exports = api => {
|
|
// Most likely you want to overwrite the whole config to ensure it's working
|
|
// without conflicts, e.g. for a project that used Jest without Babel.
|
|
// It should be rare for the user to have their own special babel config
|
|
// without using the Babel plugin already.
|
|
delete api.generator.files['babel.config.js']
|
|
|
|
api.extendPackage({
|
|
babel: {
|
|
presets: ['@vue/cli-plugin-babel/preset']
|
|
},
|
|
dependencies: {
|
|
'core-js': '^3.6.5'
|
|
}
|
|
})
|
|
}
|
|
|