Skip to content

enhance: support exports field #1154

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

Merged
merged 1 commit into from
May 6, 2021
Merged

Conversation

huozhi
Copy link
Member

@huozhi huozhi commented May 6, 2021

Adopt exports sugar, to make subpath imports like swr/infinite easier in long run.

parsing exports field is supported in webpack5.

@huozhi huozhi requested review from pacocoursey and shuding as code owners May 6, 2021 12:50
@codesandbox-ci
Copy link

codesandbox-ci bot commented May 6, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1f028d7:

Sandbox Source
SWR-Basic Configuration
SWR-States Configuration
SWR-Infinite Configuration
SWR-SSR Configuration

@shuding shuding merged commit 504306b into vercel:master May 6, 2021
@huozhi huozhi deleted the exports-field branch May 6, 2021 13:45
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.

2 participants