Open
Description
Describe the feature
Since it's not always clear if a given library is imported via esm or cjs (or even properly supports esm), it would be nice to have a command that deeply analyzes all imports and lists all cjs ones.
Reference: https://github.com/rollup/plugins/tree/master/packages/commonjs#inter-plugin-communication
Additional information
- Would you be willing to help implement this feature?
- Could this feature be implemented as a module?
Final checks
- Read the contribution guide.
- Check existing discussions and issues.