Skip to content

Commit

Permalink
fix(@schematics/angular): add browserslist configuration in library p…
Browse files Browse the repository at this point in the history
…rojects

Previously, browserslist configuration was not added in library projects. This in some cases caused a large number of CSS prefixes to be included in components stylesheets
  • Loading branch information
alan-agius4 committed Aug 27, 2021
1 parent 32dbf65 commit 732ef79
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/schematics/angular/library/files/.browserslistrc.template
@@ -0,0 +1,16 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support

# You can see what browsers were selected by your queries by running:
# npx browserslist

last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR

0 comments on commit 732ef79

Please sign in to comment.