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,
|
||||
license: DIST_LICENSE,
|
||||
dependencies: {
|
||||
dommatrix: "^0.0.24",
|
||||
"web-streams-polyfill": "^3.2.0",
|
||||
},
|
||||
peerDependencies: {
|
||||
|
@ -50,7 +50,9 @@ if (
|
||||
if (globalThis.DOMMatrix || !isNodeJS) {
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user