mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
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
2 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue