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
{{ message }}
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
It seems that when a module sets both module.exports and module.exports.default, rollup throws the above error. This is needed for node to be able to import commonjs modules using es6, see this discussion of the issue.
I've put together a gist which outlines the issue here. When you run rollup -c, you get the following error:
It seems that when a module sets both
module.exports
andmodule.exports.default
, rollup throws the above error. This is needed for node to be able to import commonjs modules using es6, see this discussion of the issue.I've put together a gist which outlines the issue here. When you run
rollup -c
, you get the following error:Anyone know what's happening here?
The text was updated successfully, but these errors were encountered: