Add the caniuse-lite package

Since the Autoprefixer plugin indirectly depends on this, it seems like a good idea to add this as a direct dependency in the PDF.js project to hopefully avoid having to manually update `caniuse-lite` in the future; see https://github.com/browserslist/browserslist#browsers-data-updating

Also, slightly tweaks the Autoprefixer config for GENERIC-builds of the PDF.js library; note that this change doesn't affect the contents of the *built* `web/viewer.js` file.
This commit is contained in:
Jonas Jenwald 2022-02-27 11:32:23 +01:00
parent 046ff07ee3
commit 896255e7bf
3 changed files with 21 additions and 19 deletions

View file

@ -81,7 +81,7 @@ const AUTOPREFIXER_CONFIG = {
"Chrome >= 73",
"Firefox ESR",
"Safari >= 12.1",
"> 0.5%",
"> 1%",
"not IE > 0",
"not dead",
],