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
{{ message }}
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
The documentation says that
{ @std/esm: "cjs" }
is a shorthand for{ "@std/esm": { "esm": "js", "cjs": true }}
but these result in different behavior.Given the following file:
Running
node -r @std/esm
on it results in an error with the shorthand but not with the long version:Perhaps the first if condition at https://github.com/standard-things/esm/blob/master/src/pkg-info.js#L160 should call
createCJS(true)
and setcjsOptions
?The text was updated successfully, but these errors were encountered: