diff --git a/packages/angular_devkit/build_angular/src/utils/esbuild-targets.ts b/packages/angular_devkit/build_angular/src/utils/esbuild-targets.ts index 1147738e93a9..e9310e171d5a 100644 --- a/packages/angular_devkit/build_angular/src/utils/esbuild-targets.ts +++ b/packages/angular_devkit/build_angular/src/utils/esbuild-targets.ts @@ -38,7 +38,7 @@ export function transformSupportedBrowsersToTargets(supportedBrowsers: string[]) [version] = version.split('-'); if (esBuildSupportedBrowsers.has(browserName)) { - if (browserName === 'safari' && version === 'TP') { + if (browserName === 'safari' && version === 'tp') { // esbuild only supports numeric versions so `TP` is converted to a high number (999) since // a Technology Preview (TP) of Safari is assumed to support all currently known features. version = '999';