Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): add whatwg-url to downlevel exc…
Browse files Browse the repository at this point in the history
…lusion list

Similar to #21739, `whatwg-url` seems to suffer from the same issue as #21735

```ts
const AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(async function* () {}).prototype);
```

(cherry picked from commit 1842bd5)
  • Loading branch information
alan-agius4 authored and dgp1130 committed Feb 2, 2022
1 parent 9b58547 commit cc5505c
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -383,7 +383,9 @@ export async function getCommonConfig(wco: WebpackConfigOptions): Promise<Config
test: /\.[cm]?[tj]sx?$/,
// 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|web-streams-polyfill)[/\\]/],
exclude: [
/[/\\](?:core-js|@babel|tslib|web-animations-js|web-streams-polyfill|whatwg-url)[/\\]/,
],
use: [
{
loader: require.resolve('../../babel/webpack-loader'),
Expand Down

0 comments on commit cc5505c

Please sign in to comment.