Merge pull request #14792 from Snuffleupagus/update-packages

Update packages and translations
This commit is contained in:
Tim van der Meij 2022-04-19 21:17:28 +02:00 committed by GitHub
commit b34fb94c68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 334 additions and 460 deletions

View file

@ -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`.