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
As far as I'm aware, this is output for valid export * as x use cases in Babel under certain interop options (not sure which?).
If this is the case, we should probably treat this as a full reexport, equivalent to export * from '...', therefore we should allow this to trigger reexport detection.
The question is if we should specifically filter the interopRequireWildcard function name, and I'm tempted to say yes, despite that it won't work with minification - this is similar to how we handle __exportStar for TypeScript code.
We're currently not detecting the following:
As far as I'm aware, this is output for valid
export * as x
use cases in Babel under certain interop options (not sure which?).If this is the case, we should probably treat this as a full reexport, equivalent to
export * from '...'
, therefore we should allow this to trigger reexport detection.The question is if we should specifically filter the
interopRequireWildcard
function name, and I'm tempted to say yes, despite that it won't work with minification - this is similar to how we handle__exportStar
for TypeScript code.//cc @nicolo-ribaudo would value your thoughts on this one.
The text was updated successfully, but these errors were encountered: