Skip to content

[pluginutils] (or any other rollup part) should not depend on "blatantly non ESM" modules #503

Closed
@pkit

Description

@pkit
  • Rollup Plugin Name: pluginutils
  • Rollup Plugin Version: HEAD

Expected Behavior / Situation

Compiles in browser

Actual Behavior / Situation

Does not compile, because picomatch is a cjs-only module with no default export.

Error: 'default' is not exported by https://cdn.jsdelivr.net/npm/picomatch@2.2.2/index.js

Modification Proposal

picomatch looks abandoned (typed proposition hangs for 9 month already), just replicate the functionality within plugin itself.
I can probably create a PR if you want.

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