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
fix(plugin-rsc): add CJS/ESM interop helper for require() transformation
- Add __cjs_interop__ runtime helper to handle ESM modules correctly
- Check for __esModule flag and default export before accessing .default
- Update all tests to reflect new transformation output
- Fixes issue where require("esm-package") would fail when transformed
Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com>
0 commit comments