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
my one contribution would be to try and convince everyone that trying to get named exports out of CJS is the wrong move, unless __esModule is present. if you're importing from a CJS module, just always use the default. it's the only way to avoid all the annoying interop quirks
yeah, the value of being able to do import { foo } from 'rando-cjs-package' is vastly outweighed by the predictability and reliability of always having to do import rando ...; rando.foo in my experience
The text was updated successfully, but these errors were encountered:
From Rich Harris
The text was updated successfully, but these errors were encountered: