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

config some package require default or require all exports #38

Open
ttshangxiang opened this issue Jul 28, 2022 · 1 comment
Open

config some package require default or require all exports #38

ttshangxiang opened this issue Jul 28, 2022 · 1 comment

Comments

@ttshangxiang
Copy link

in webpack's cjs bundle, has some package need require default, others need require all exports, can I config which need default and which need all exports?

@aztack
Copy link

aztack commented Dec 5, 2022

react-draggable Try to read default in its code.
image
This will cause error:
image
Correct:
image

image

This kind of scenario can be handled If we can configure which package should (or should not) read default.

related issues: #22

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

No branches or pull requests

2 participants