The CommonJS plugin for Rollup doesn't seem to like destructured imports like:
import{isFragment}from'react-is';Using a named import or default import fixes this issue:
import*asReactIsfrom'react-is';// orimportReactIsfrom'react-is';
When using tools like pika, we don't have direct control over the commonjs plugin so we can't configure named exports on react-is.
See relevant issues:
The CommonJS plugin for Rollup doesn't seem to like destructured imports like:
Using a named import or default import fixes this issue:
When using tools like pika, we don't have direct control over the commonjs plugin so we can't configure named exports on
react-is.See relevant issues: