mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Improve CJS and ESM module support #1037
This commit is contained in:
parent
78a1827af8
commit
75dba51f56
6 changed files with 29 additions and 47 deletions
|
@ -1,11 +0,0 @@
|
|||
/**
|
||||
* Export the main ESM module as CommonJS
|
||||
*
|
||||
*
|
||||
* @author d98762656 [d98762625@gmail.com]
|
||||
* @copyright Crown Copyright 2019
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
module.exports = (async () => await import("./index.mjs"))();
|
||||
module.exports.File = (async () => await import("./File.mjs"))();
|
Loading…
Add table
Add a link
Reference in a new issue