Closed jamespantalones closed 4 years ago
I cannot reproduce this. In my app, cloneElement
is imported via semantic-ui-react
. If I remove cloneElement
from namedExports
, then Rollup throws an error. If I add it back, then the build succeeds.
I think a minimal reproducible example is going to be needed here.
Hey folks (this is a canned reply, but we mean it!). Thanks to everyone who participated in this issue. We're getting ready to move this plugin to a new home at https://github.com/rollup/plugins, and we have to do some spring cleaning of the issues to make that happen. We're going to close this one, but it doesn't mean that it's not still valid. We've got some time yet before the move while we resolve pending Pull Requests, so if this issue is still relevant, please @ me and I'll make sure it gets transferred to the new repo. :beer:
Not sure what to do here... Keep getting error thrown
cloneElement is not exported by node_modules/react/index.js
I know it needs to be specified in
namedModules
in comonjs plugin, and that works for every other react export, but it is not recognizingcloneElement
. Any ideas?Thanks
rollup config