diff --git a/packages/angular_devkit/build_angular/src/webpack/configs/common.ts b/packages/angular_devkit/build_angular/src/webpack/configs/common.ts index 2262730d9fde..af503f1c635a 100644 --- a/packages/angular_devkit/build_angular/src/webpack/configs/common.ts +++ b/packages/angular_devkit/build_angular/src/webpack/configs/common.ts @@ -460,7 +460,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration { test: /\.[cm]?js$|\.tsx?$/, // The below is needed due to a bug in `@babel/runtime`. See: https://github.com/babel/babel/issues/12824 resolve: { fullySpecified: false }, - exclude: [/[\/\\](?:core-js|\@babel|tslib|web-animations-js)[\/\\]/], + exclude: [/[/\\](?:core-js|@babel|tslib|web-animations-js|web-streams-polyfill)[/\\]/], use: [ { loader: require.resolve('../../babel/webpack-loader'),