You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require() can work properly with bunchee now. When the local source file is require'd by another one, it would be bundled like import. Otherwise if you're importing a external package, it still treats it as external and decide if the esm-shim needs to be applied.
PRs
feat: handle dynamic require in ESM by @huozhi in #628
fix: ensure bundle fallback wont go to types by @huozhi in #633