Skip to content

Commit

Permalink
fix(babel): fix regression on au generate
Browse files Browse the repository at this point in the history
The newly named babel.config.js needs to be ignored by internal babel register.
  • Loading branch information
3cp committed Apr 12, 2020
1 parent 099469d commit b3b489e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }],
Expand Down

0 comments on commit b3b489e

Please sign in to comment.