Would you consider adding support for ESM?
https://nodejs.org/api/esm.html#esm_main_entry_point_export
Node v13 already has ESM enabled by default, and node v14 will be here in a couple of weeks.
An opt-in solution could be given in the following way (I guess, not tested):
- another available entrypoint like
common-tags/esm
- built and exposed holding a
package.json with type=module and exports field in place
Would you consider adding support for ESM?
https://nodejs.org/api/esm.html#esm_main_entry_point_export
Node v13 already has ESM enabled by default, and node v14 will be here in a couple of weeks.
An opt-in solution could be given in the following way (I guess, not tested):
common-tags/esmpackage.jsonwithtype=moduleandexportsfield in place