chore: opt out from the compact mode in babel (#22974)

This commit is contained in:
Pavel Feldman 2023-05-11 16:31:28 -07:00 committed by GitHub
parent 44a934c160
commit 49f647ca57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ export function babelTransform(filename: string, isTypeScript: boolean, isModule
[require('@babel/preset-typescript'), { onlyRemoveTypeImports: false }],
],
plugins,
compact: false,
sourceMaps: 'both',
} as babel.TransformOptions)!;
}