Merge pull request #14645 from Snuffleupagus/Node-DOMMatrix-polyfill
[api-minor] Remove the, in `legacy` builds, bundled `DOMMatrix` polyfill
This commit is contained in:
commit
e85bb0b599
@ -2043,6 +2043,7 @@ function packageBowerJson() {
|
|||||||
bugs: DIST_BUGS_URL,
|
bugs: DIST_BUGS_URL,
|
||||||
license: DIST_LICENSE,
|
license: DIST_LICENSE,
|
||||||
dependencies: {
|
dependencies: {
|
||||||
|
dommatrix: "^0.0.24",
|
||||||
"web-streams-polyfill": "^3.2.0",
|
"web-streams-polyfill": "^3.2.0",
|
||||||
},
|
},
|
||||||
peerDependencies: {
|
peerDependencies: {
|
||||||
|
@ -50,7 +50,9 @@ if (
|
|||||||
if (globalThis.DOMMatrix || !isNodeJS) {
|
if (globalThis.DOMMatrix || !isNodeJS) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
globalThis.DOMMatrix = require("dommatrix/dist/dommatrix.js");
|
globalThis.DOMMatrix = __non_webpack_require__(
|
||||||
|
"dommatrix/dist/dommatrix.js"
|
||||||
|
);
|
||||||
})();
|
})();
|
||||||
|
|
||||||
// Provides support for *recent* additions to the Promise specification,
|
// Provides support for *recent* additions to the Promise specification,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user