Skip to content

Commit

Permalink
Improve build-lib command
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed May 23, 2022
1 parent eb412bd commit 8cc17f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,20 @@
# You can see what browsers were selected by your queries by running:
# npx browserslist

[production]
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

[library]
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
not ios_saf 15.2-15.3
not safari 15.2-15.3
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"build-lib": "ng build primeng-library && gulp build-assets"
"build-lib": "BROWSERSLIST_ENV=library ng build primeng-library && gulp build-assets"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 8cc17f7

Please sign in to comment.