powerquery-parser icon indicating copy to clipboard operation
powerquery-parser copied to clipboard

[Enhancement] switch packaging from CommonJS to ESM

Open mattmasson opened this issue 1 month ago • 0 comments

Downstream consumers are asking us to switch the packaging to ESM.

Notes from initial investigation:

  • switching to ESM can break consumers that use require()
  • many tools/frameworks (like JEST) assume CommonJS and may require additional flags/code changes to support ESM
  • it's possible to "dual package" both ESM and CommonJS

mattmasson avatar Dec 04 '25 19:12 mattmasson