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
Hi,
I saw you answered a similar issue already (#19 ), and for WEbpack this solution works fine. But with for example Rollup it doesn't work. Error: 'default' is not exported by node_modules/react-string-replace/index.js
So would you accept a PR where we add ES6 compatibility?
The text was updated successfully, but these errors were encountered:
Hm, I think there is a webpack option for this. Maybe a rollup option too. Something like esModuleInterop (which is a typescript option) that will automatically resolve the default export even if the source code doesn't provide it.
Hi,
I saw you answered a similar issue already (#19 ), and for WEbpack this solution works fine. But with for example Rollup it doesn't work.
Error: 'default' is not exported by node_modules/react-string-replace/index.js
So would you accept a PR where we add ES6 compatibility?
The text was updated successfully, but these errors were encountered: