Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): correctly resolve babel runtime h…
Browse files Browse the repository at this point in the history
…elpers

Closes #20800
  • Loading branch information
buu700 authored and alan-agius4 committed May 18, 2021
1 parent ae07d36 commit d34dc88
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,8 @@ 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)[\/\\]/],
use: [
{
Expand Down

0 comments on commit d34dc88

Please sign in to comment.