mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-18 16:34:27 -04:00
bug: explicitly importing the ESM version fails #30
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @williamhorning on GitHub (Jul 2, 2023).
What happened?
When importing revolt.js' ESM version directly from
revolt.js/lib/esm/index.js, an error is thrown because it's interpreted as a CJS module by both Node and Deno.How to reproduce:
Logs: