Open ttshangxiang opened 2 years ago
react-draggable
Try to read default
in its code.
This will cause error:
Correct:
This kind of scenario can be handled If we can configure which package should (or should not) read default
.
related issues: https://github.com/originjs/vite-plugins/issues/22
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?