escape-html
escape-html copied to clipboard
discussion: esm-only
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!
https://github.com/component/escape-html/pull/30 There is a related PR
Yea, I saw #30 but that seems to add ESM but keep CJS. I propose to remove CJS completely
@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.