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

(cherry picked from commit d34dc88)
  • Loading branch information
buu700 authored and alan-agius4 committed May 18, 2021
1 parent 966a378 commit 1e34e98
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 1e34e98

Please sign in to comment.