Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

More patterns for named exports #9

Closed
arv opened this issue Nov 9, 2015 · 1 comment
Closed

More patterns for named exports #9

arv opened this issue Nov 9, 2015 · 1 comment

Comments

@arv
Copy link

arv commented Nov 9, 2015

I'm currently using https://www.npmjs.com/package/text-encoding which does:

module.exports = {
  TextEncoder: encoding.TextEncoder,
  TextDecoder: encoding.TextDecoder,
};

And therefore the named exports are not identified:

Module .../node_modules/text-encoding/index.js does not export TextDecoder (imported by ...)
@Victorystick
Copy link
Contributor

Tiny pieces of code like this should be easy to statically analyse and optimise. We should look into it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants