bpmn-io / bpmn-js-properties-panel

A properties panel for bpmn-js.
MIT License
293 stars 196 forks source link

chore: export module using `mjs` extension #986

Closed nikku closed 12 months ago

nikku commented 12 months ago

Following up on https://github.com/bpmn-io/properties-panel/pull/303.

This allows module bundlers to properly interpret the file.

nikku commented 12 months ago

Let's park this for now regardless.

nikku commented 12 months ago

We cannot do this or we'll break downstream integrations, cf.:

image

If we ever exposed an .mjs file, then we'd need to ensure that dependencies are also modules, and/or expose the module exports we search for :see_no_evil:.