mirror of
https://github.com/gchq/CyberChef
synced 2025-12-24 04:04:25 +00:00
Fixed Node imports
This commit is contained in:
@@ -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"))();
|
||||
|
||||
Reference in New Issue
Block a user