We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESM version of the runtime (https://unpkg.com/@tybys/emnapi-runtime@0.25.0/dist/emnapi.mjs) currently has this code, seems like a leftover from something that assumed it will be generated as CommonJS:
... Object.defineProperty(exports, 'version', { configurable: true, enumerable: true, writable: false, value: "0.25.0" }); export { CallbackInfo, CallbackInfoStack, ConstHandle, Context, Deferred, DeferredStore, EmnapiError, Env, EnvStore, Finalizer, Handle, HandleScope, HandleStore, NotSupportBigIntError, NotSupportWeakRefError, Ownership, Persistent, RefBase, RefStore, RefTracker, Reference, ScopeStore, Store, TryCatch, createContext, isReferenceType };
Trying to import it results in ReferenceError: exports is not defined.
ReferenceError: exports is not defined
The text was updated successfully, but these errors were encountered:
publishing 0.25.1
Sorry, something went wrong.
fixed
No branches or pull requests
ESM version of the runtime (https://unpkg.com/@tybys/emnapi-runtime@0.25.0/dist/emnapi.mjs) currently has this code, seems like a leftover from something that assumed it will be generated as CommonJS:
Trying to import it results in
ReferenceError: exports is not defined
.The text was updated successfully, but these errors were encountered: