diff --git a/packages/core/src/app.ts b/packages/core/src/app.ts index 96ee80170..57d727dc8 100644 --- a/packages/core/src/app.ts +++ b/packages/core/src/app.ts @@ -335,7 +335,7 @@ export class AppBuilder { @Memoize() private babelConfig(templateCompilerParams: TemplateCompilerParams, appFiles: Engine[]) { - let babel = this.adapter.babelConfig(); + let babel = cloneDeep(this.adapter.babelConfig()); if (!babel.plugins) { babel.plugins = [];