Open
Description
ECMAScript or ESM modules are the official way of developing JavaScript software today and many projects and libraries are moving towards this format to leverage its advantages. Support for CommonJS, which was the de facto standard for NodeJS projects so far, is even being dropped by some famous libs.
I personally know very little about frontend development, but looking at the remaining Dependabot PRs, it seems that we have a setup that is not compatible with the latest versions of dependent packages. And googling for potential reasons, I found quite a few pointing to a need to migrate from CommonJS to ECMAScript/ESM.
Some hopefully relevant references:
- https://tsmx.net/convert-existing-nodejs-project-from-commonjs-to-esm/
- https://mgregersen.dk/converting-a-typescript-project-from-cjs-to-esm-the-ultimate-how-to/
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
/help
Metadata
Assignees
Labels
No labels