File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/angular/src/executors
ng-packagr-lite/ng-packagr-adjustments/styles
package/ng-packagr-adjustments/styles Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export class StylesheetProcessor {
71
71
// We change the default query to browsers that Angular support.
72
72
// https://angular.io/guide/browser-support
73
73
( browserslist . defaults as string [ ] ) = [
74
- 'last 1 Chrome version' ,
74
+ 'last 2 Chrome version' ,
75
75
'last 1 Firefox version' ,
76
76
'last 2 Edge major versions' ,
77
77
'last 2 Safari major versions' ,
@@ -320,7 +320,7 @@ function transformSupportedBrowsersToTargets(
320
320
if ( browserName === 'ie' ) {
321
321
transformed . push ( 'edge12' ) ;
322
322
} else if ( esBuildSupportedBrowsers . has ( browserName ) ) {
323
- if ( browserName === 'safari' && version === 'TP ' ) {
323
+ if ( browserName === 'safari' && version === 'tp ' ) {
324
324
// esbuild only supports numeric versions so `TP` is converted to a high number (999) since
325
325
// a Technology Preview (TP) of Safari is assumed to support all currently known features.
326
326
version = '999' ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export class StylesheetProcessor {
64
64
// We change the default query to browsers that Angular support.
65
65
// https://angular.io/guide/browser-support
66
66
( browserslist . defaults as string [ ] ) = [
67
- 'last 1 Chrome version' ,
67
+ 'last 2 Chrome version' ,
68
68
'last 1 Firefox version' ,
69
69
'last 2 Edge major versions' ,
70
70
'last 2 Safari major versions' ,
@@ -313,7 +313,7 @@ function transformSupportedBrowsersToTargets(
313
313
if ( browserName === 'ie' ) {
314
314
transformed . push ( 'edge12' ) ;
315
315
} else if ( esBuildSupportedBrowsers . has ( browserName ) ) {
316
- if ( browserName === 'safari' && version === 'TP ' ) {
316
+ if ( browserName === 'safari' && version === 'tp ' ) {
317
317
// esbuild only supports numeric versions so `TP` is converted to a high number (999) since
318
318
// a Technology Preview (TP) of Safari is assumed to support all currently known features.
319
319
version = '999' ;
You can’t perform that action at this time.
0 commit comments