Skip to content

Commit df7c7f4

Browse files
ricardochlangular-robot[bot]
authored andcommitted
fix(@angular-devkit/build-angular): fix support of Safari TP versions
Fix issue-related to the support of Safari TP versions. This issue was accidentally introduced in a0f9db8 Fixes #24639
1 parent fd1061e commit df7c7f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/utils/esbuild-targets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function transformSupportedBrowsersToTargets(supportedBrowsers: string[])
3838
[version] = version.split('-');
3939

4040
if (esBuildSupportedBrowsers.has(browserName)) {
41-
if (browserName === 'safari' && version === 'TP') {
41+
if (browserName === 'safari' && version === 'tp') {
4242
// esbuild only supports numeric versions so `TP` is converted to a high number (999) since
4343
// a Technology Preview (TP) of Safari is assumed to support all currently known features.
4444
version = '999';

0 commit comments

Comments
 (0)