escape-html icon indicating copy to clipboard operation
escape-html copied to clipboard

discussion: esm-only

Open gameroman opened this issue 6 months ago • 2 comments

What is your opinion on going ESM-only?

This would require a new major version.

If you are happy with that, I would be very glad to help!

gameroman avatar Jun 02 '26 22:06 gameroman

https://github.com/component/escape-html/pull/30 There is a related PR

fengmk2 avatar Jun 03 '26 01:06 fengmk2

Yea, I saw #30 but that seems to add ESM but keep CJS. I propose to remove CJS completely

gameroman avatar Jun 03 '26 12:06 gameroman

@gameroman I agree with you. It's much better to release a new major version with ESM only. People still need CJS can still use the old package. This is a very simple package and there won't be many updates in the future.

SpotlightOn avatar Aug 06 '26 07:08 SpotlightOn