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
Thank you for creating this transform. It's helpful on a project where we're using Relay Modern (11). Relay generates TypeScript modules that for some reason occasionally include require statements. We're using this transform to make these modules pure ES6 modules.
In our case, we're finding the export feature to be unhelpful because it creates multiple default exports. We get something that looks like this,
exportdefaultnode;exportdefaultmodule.exports;
export default module.exports is added by this transform but unnecessary.
It would be very helpful if it was possible to only change the import statements but not add the exports.
The text was updated successfully, but these errors were encountered:
Thank you for creating this transform. It's helpful on a project where we're using Relay Modern (11). Relay generates TypeScript modules that for some reason occasionally include
require
statements. We're using this transform to make these modules pure ES6 modules.In our case, we're finding the export feature to be unhelpful because it creates multiple default exports. We get something that looks like this,
export default module.exports
is added by this transform but unnecessary.It would be very helpful if it was possible to only change the import statements but not add the exports.
The text was updated successfully, but these errors were encountered: