You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without this, more strict bundlers and Node's ESM mode won't be able to import the es6 build of jscrypto.
e.g. From vitest:
SyntaxError: Cannot use import statement outside a module
Module .../node_modules/.pnpm/[email protected]/node_modules/jscrypto/es6/lib/random.js:1 seems to be an ES Module but shipped in a CommonJS package. You might want to create an issue to the package "jscrypto" asking them to ship the file in .mjs extension or add "type": "module" in their package.json.
The text was updated successfully, but these errors were encountered:
Without this, more strict bundlers and Node's ESM mode won't be able to import the es6 build of jscrypto.
e.g. From vitest:
The text was updated successfully, but these errors were encountered: