fflate
fflate copied to clipboard
standard ESM exports
https://github.com/101arrowz/fflate/blob/f7873560ad229c22c4b23b06c6a3806ffde77569/package.json#L5-L9
"main" is the only field there that Node.js natively understands. For an ESM codebase to import ESM code there needs to be an "exports" field (or I guess dropping cjs entirely for esm in main).
https://nodejs.org/api/packages.html#subpath-exports