You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a0a2c7a
Browse filesBrowse the repository at this point in the historyBrowse files
perf(@angular-devkit/build-angular): only load browserslist in babel preset if needed
The `browserslist` package is only needed in the custom Babel application preset if
the `supportedBrowsers` option is specified. This option is not used within the esbuild-
based browser application builder. The `browserslist` is now lazily imported only when
needed and avoids the overhead of loading browser support data when not needed by the build.
// Safari <15 is technically not supported via https://angular.io/guide/browser-support,
37
-
// but we apply the workaround if forcibly selected.
// Safari <15 is technically not supported via https://angular.io/guide/browser-support,
198
+
// but we apply the workaround if forcibly selected.
199
+
'Safari <=15',
200
+
'iOS <=15',
201
+
]),
202
+
);
203
+
}
204
+
201
205
// If a Safari browser affected by the class field scope bug is selected, we
202
206
// downlevel class properties by ensuring the class properties Babel plugin
203
207
// is always included- regardless of the preset-env targets.
0 commit comments