From b3b489e9c38eb957bcd28e5023b5c99fd73e7b55 Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Mon, 13 Apr 2020 09:40:30 +1000 Subject: [PATCH] fix(babel): fix regression on au generate The newly named babel.config.js needs to be ignored by internal babel register. --- lib/project.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/project.js b/lib/project.js index 3860a769e..3362e843f 100644 --- a/lib/project.js +++ b/lib/project.js @@ -106,6 +106,7 @@ function getMetadata(dir) { function installBabel() { require('@babel/register')({ babelrc: false, + configFile: false, plugins: [ ['@babel/plugin-proposal-decorators', { legacy: true }], ['@babel/plugin-proposal-class-properties', { loose: true }],