Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): don't downlevel web-animations-js
Browse files Browse the repository at this point in the history
This library is minified and it causes Babel to consume a lot of resources when trying to downlevel.

Closes #19660

(cherry picked from commit cfb3684)
  • Loading branch information
alan-agius4 authored and filipesilva committed Jan 5, 2021
1 parent 32cf222 commit a7535db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
},
{
test: /\.m?js$/,
exclude: [/[\/\\](?:core-js|\@babel|tslib)[\/\\]/, /(ngfactory|ngstyle)\.js$/],
exclude: [/[\/\\](?:core-js|\@babel|tslib|web-animations-js)[\/\\]/, /(ngfactory|ngstyle)\.js$/],
use: [
...(wco.supportES2015
? []
Expand Down

0 comments on commit a7535db

Please sign in to comment.