-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This library seems to conflate export * and export { default } #7
Comments
This results in code being written that is: // module a;
export function foo () { };
export default function() {
} // module b;
export { default } from 'a'; // module c
export { foo } from 'b';
// foo really should NOT be accessible here as
// all module B is re-exporting is the default of module A;
// it is NOT re-exporting foo |
I made a tool to quickly fix peoples code: https://github.com/stefanpenner/fix-compact-reexports |
This lib then should likely learn about |
I think I can easily add support to loader to suport |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe this library confuses:
With:
define.alias
isexport * from 'their-module'
, making all members availableexport { default } from 'their-module
, making only the default member availableThe text was updated successfully, but these errors were encountered: