Closed pmcelhaney closed 1 year ago
I'm worried that this might be a breaking change, since it currently uses a CommonJS export
I don’t remember what I was thinking when I did this. I might have tested by importing with ESM without checking that it still works with CJS. Judging from the branch name, I might not have tested at all.
You’re probably right. If it’s imported with CJS the default keyword will be a syntax error.
fixes #225