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 79ee90b commit c074459Copy full SHA for c074459
packages/@vue/cli-plugin-babel/generator.js
@@ -1,4 +1,10 @@
1
module.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']
0 commit comments