Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Document how files are determined to be CommonJS #88

@lkmill

Description

@lkmill

it would be great if there was a note in the documentation how rollup-plugin-commonjs determines if a file is CommonJS. For example, the fact that the existence of a reference to globals causes the file to be interpreted as CommonJS is not super obvious, even if the package.json uses jsnext:main or module.

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