Improve CJS and ESM module support #1037

This commit is contained in:
n1474335 2022-03-28 10:52:28 +01:00
parent 78a1827af8
commit 75dba51f56
6 changed files with 29 additions and 47 deletions

View file

@ -7,8 +7,8 @@
* @license Apache-2.0
*/
const chef = require("./cjs.js");
const repl = require("repl");
import chef from "./index.mjs";
import repl from "repl";
/* eslint no-console: ["off"] */