Skip to content

Commit 1e34e98

Browse files
buu700alan-agius4
authored andcommitted
fix(@angular-devkit/build-angular): correctly resolve babel runtime helpers
Closes #20800 (cherry picked from commit d34dc88)
1 parent 966a378 commit 1e34e98

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

+2
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
479479
},
480480
{
481481
test: /\.[cm]?js$|\.tsx?$/,
482+
// The below is needed due to a bug in `@babel/runtime`. See: https://github.com/babel/babel/issues/12824
483+
resolve: { fullySpecified: false },
482484
exclude: [/[\/\\](?:core-js|\@babel|tslib|web-animations-js)[\/\\]/],
483485
use: [
484486
{

0 commit comments

Comments
 (0)