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
The fix-commonjs-exports script was incorrectly transforming
`module2.exports.default` to `module2.module.exports` by replacing
`exports.default` without checking for esbuild's moduleN. prefix.
Updated the check to skip transformation when exports.default is
preceded by any moduleN. pattern (module., module2., etc.), not just
module. This prevents the invalid module2.module.exports pattern from
being generated in external bundles.
Fixes prompt tests that were failing with "Cannot set properties of
undefined (setting 'exports')" errors.
0 commit comments