idiomorph icon indicating copy to clipboard operation
idiomorph copied to clipboard

Please publish new version with the module entry in package.json

Open kristoferjoseph opened this issue 1 year ago • 1 comments

The currently published version 0.3.0 omits the module entry in package.json that was added recently. Thank you kindly.

kristoferjoseph avatar May 09 '24 21:05 kristoferjoseph

Also, it would be nice to export Idiomorph instead of {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'

eloyesp avatar Aug 09 '24 13:08 eloyesp

export Idiomorph;

errors when I test it.

To make this work I had to change the export to:

export const {defaults, morph} = Idiomorph;

pbowyer avatar Oct 21 '24 09:10 pbowyer

released 0.4.0 today

1cg avatar Dec 23 '24 18:12 1cg