vite-plugins
vite-plugins copied to clipboard
config some package require default or require all exports
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?
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