mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
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:
parent
046ff07ee3
commit
896255e7bf
3 changed files with 21 additions and 19 deletions
|
@ -10,6 +10,7 @@
|
|||
"acorn": "^8.7.0",
|
||||
"autoprefixer": "^10.4.2",
|
||||
"babel-loader": "^8.2.3",
|
||||
"caniuse-lite": "^1.0.30001312",
|
||||
"canvas": "^2.9.0",
|
||||
"core-js": "^3.21.1",
|
||||
"cross-env": "^7.0.3",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue