UNPKG

476 BJavaScriptView Raw
1module.exports = api => {
2 // Most likely you want to overwrite the whole config to ensure it's working
3 // without conflicts, e.g. for a project that used Jest without Babel.
4 // It should be rare for the user to have their own special babel config
5 // without using the Babel plugin already.
6 delete api.generator.files['babel.config.js']
7
8 api.extendPackage({
9 babel: {
10 presets: ['@vue/app']
11 },
12 dependencies: {
13 'core-js': '^2.6.5'
14 }
15 })
16}