Skip to content

Commit eb02e7b

Browse files
committed
fix(@angular-devkit/build-angular): correctly resolve babel runtime helpers
Closes #20800
1 parent 79c5284 commit eb02e7b

File tree

1 file changed

+2
-0
lines changed
  • packages/angular_devkit/build_angular/src/webpack/configs

1 file changed

+2
-0
lines changed

packages/angular_devkit/build_angular/src/webpack/configs/common.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,8 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
483483
},
484484
{
485485
test: /\.[cm]?js$|\.tsx?$/,
486+
// The below is needed due to a bug in `@babel/runtime`. See: https://github.com/babel/babel/issues/12824
487+
resolve: { fullySpecified: false },
486488
exclude: [/[\/\\](?:core-js|\@babel|tslib|web-animations-js)[\/\\]/],
487489
use: [
488490
{

0 commit comments

Comments
 (0)