New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESM support (type=module + exports={}) #201
Comments
Ok, I'll try to implement that; or would you be willing to provide a PR? |
Siilwyn
added a commit
to Siilwyn/common-tags
that referenced
this issue
Jan 30, 2021
Also remove unofficial fields that mark a package as 'ES' and bump build related tooling dependencies to ensure compatibility with the new standard. Since the package scope is now set to module change config files to use ESM or run with CommonJS using the `cjs` extension. Closes zspecza#201
This is fixed in the fork |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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/esm
package.json
withtype=module
andexports
field in placeThe text was updated successfully, but these errors were encountered: