mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Upgrade gulp
to version 5.0.0
This is a major version bump, and the changelog at https://github.com/gulpjs/gulp/releases/tag/v5.0.0 indicates one breaking change that impacts us, namely that streams are now by default interpreted/transformed to UTF-8 encoding. This breaks `gulp.src` calls that work on binary files such as images or CMaps, but is fortunately easy to fix for us by disabling re-encoding for all `gulp.src` calls (see https://github.com/gulpjs/gulp/issues/2764#issuecomment-2063415792 for more information). This restores the previous behavior of copying the files as-is without Gulp performing any transformations to it, which is what we want because Gulp is only used for bundling and we make sure that the source files have the right encoding.
This commit is contained in:
parent
4d9c25a41a
commit
d25b52702a
3 changed files with 588 additions and 1345 deletions
|
@ -27,7 +27,7 @@
|
|||
"eslint-plugin-sort-exports": "^0.9.1",
|
||||
"eslint-plugin-unicorn": "^53.0.0",
|
||||
"globals": "^15.3.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp": "^5.0.0",
|
||||
"gulp-cli": "^3.0.0",
|
||||
"gulp-postcss": "^10.0.0",
|
||||
"gulp-rename": "^2.0.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue