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
When CJS is imported from ESM, only static properties are available for named imports. Properties defined using Object.defineProperty are only available through module.default.property. Would it make sense to create a loader that handles CJS imports differently? Is that at all possible? IIRC only ESM imports are handled by custom loaders.
The text was updated successfully, but these errors were encountered:
When CJS is imported from ESM, only static properties are available for named imports. Properties defined using
Object.defineProperty
are only available throughmodule.default.property
. Would it make sense to create a loader that handles CJS imports differently? Is that at all possible? IIRC only ESM imports are handled by custom loaders.The text was updated successfully, but these errors were encountered: