Closed julienfouilhe closed 4 years ago
Code is not compiled into CommonJS, therefore tools such as jest can not import the library without transforming it.
Could you provide a CommonJS build and change the package.json main attribute accordingly?
main
I just added a PR for this in #43
Nice! cc @patrick-fs
@julienfouilhe @htunnicliff the update is live. Thanks @htunnicliff!
Code is not compiled into CommonJS, therefore tools such as jest can not import the library without transforming it.
Could you provide a CommonJS build and change the package.json
main
attribute accordingly?