Skip to content

Add an option to warn/list imported cjs modules #719

Open
@tobiasdiez

Description

@tobiasdiez

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions