Fixed Node imports

This commit is contained in:
n1474335 2022-03-25 18:28:01 +00:00
parent 4ef65589e8
commit 9e3733b33b
6 changed files with 1393 additions and 826 deletions

View file

@ -7,7 +7,5 @@
* @license Apache-2.0
*/
/* eslint no-global-assign: ["off"] */
require = require("esm")(module);
module.exports = require("./index.mjs");
module.exports.File = require("./File.mjs");
module.exports = (async () => await import("./index.mjs"))();
module.exports.File = (async () => await import("./File.mjs"))();