Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: require is not defined error (#47)
The `require()` function is not defined in ES module scope. Loading a JSON file via `import` is behind `--experimental-json-modules` on LTS versions of Node.js, so use `createRequire()` instead. Refs: #43
- Loading branch information