Skip to content

Commit 11be502

Browse files
ricardochlalan-agius4
authored andcommittedFeb 2, 2023
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 (cherry picked from commit df7c7f4)
1 parent 1bfcc18 commit 11be502

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

+1-1
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)
Please sign in to comment.