mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Merge pull request #14792 from Snuffleupagus/update-packages
Update packages and translations
This commit is contained in:
commit
b34fb94c68
7 changed files with 334 additions and 460 deletions
10
gulpfile.js
10
gulpfile.js
|
@ -202,14 +202,10 @@ function createWebpackConfig(
|
|||
!disableSourceMaps;
|
||||
const skipBabel = bundleDefines.SKIP_BABEL;
|
||||
|
||||
// `core-js` (see https://github.com/zloirock/core-js/issues/514),
|
||||
// `web-streams-polyfill` (already using a transpiled file), and
|
||||
// `core-js` (see https://github.com/zloirock/core-js/issues/514), and
|
||||
// `src/core/{glyphlist,unicode}.js` (Babel is too slow for those when
|
||||
// source-maps are enabled) should be excluded from processing.
|
||||
const babelExcludes = [
|
||||
"node_modules[\\\\\\/]core-js",
|
||||
"node_modules[\\\\\\/]web-streams-polyfill",
|
||||
];
|
||||
const babelExcludes = ["node_modules[\\\\\\/]core-js"];
|
||||
if (enableSourceMaps) {
|
||||
babelExcludes.push("src[\\\\\\/]core[\\\\\\/](glyphlist|unicode)");
|
||||
}
|
||||
|
@ -2106,7 +2102,7 @@ function packageBowerJson() {
|
|||
license: DIST_LICENSE,
|
||||
dependencies: {
|
||||
dommatrix: "^0.0.24",
|
||||
"web-streams-polyfill": "^3.2.0",
|
||||
"web-streams-polyfill": "^3.2.1",
|
||||
},
|
||||
peerDependencies: {
|
||||
"worker-loader": "^3.0.8", // Used in `external/dist/webpack.js`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue