Running into the following error when attempting to import this project into a cjs project.
Error [ERR_REQUIRE_ESM]: require() of ES Module /.../node_modules/xid-ts/dist/index.js from /.../target.ts not supported.
Instead change the require of index.js in /.../target.ts to a dynamic import() which is available in all CommonJS modules.
Does anyone have a workaround for setting up this dynamic import?
Running into the following error when attempting to import this project into a cjs project.
Does anyone have a workaround for setting up this dynamic import?