Skip to content
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

Add support for imported exports #100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kpdecker
Copy link

@kpdecker kpdecker commented Jun 21, 2020

Adds support for

export * from 'module';
export { function } from 'module'

providedExports field appears to be around for all of Webpack 4. If prior webpacks are supported still, then will need a simple adapter layer.

Approached this in additive fashion to reduce the risk of this PR. I do have a stash locally that replaces the custom traversal logic glad to include that in this PR if desired. Mostly deletes the custom parser hooks.

Fixes #15

Adds support for

```
export * from 'module';
export { function } from 'module'
```

providedExports field appears to be around for all of Webpack 4. If prior webpacks are supported still, then will need a simple adapter layer.
@kpdecker kpdecker mentioned this pull request Jun 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for export specifiers?
1 participant