We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The currently published version 0.3.0 omits the module entry in package.json that was added recently. Thank you kindly.
The text was updated successfully, but these errors were encountered:
Also, it would be nice to export Idiomorph instead of {Idiomorph}.
Idiomorph
{Idiomorph}
That is: https://github.com/bigskysoftware/idiomorph/blob/main/package.json#L25 should read
"esm" : "(cat src/idiomorph.js && echo \"\nexport Idiomorph;\") > dist/idiomorph.esm.js",
That way, the ESM usage would be:
import {default, morph} from 'idiomorph'
Sorry, something went wrong.
export Idiomorph;
errors when I test it.
To make this work I had to change the export to:
export const {defaults, morph} = Idiomorph;
No branches or pull requests
The currently published version 0.3.0 omits the module entry in package.json that was added recently.
Thank you kindly.
The text was updated successfully, but these errors were encountered: