-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi team,
Have had great difficulty importing this package into my Vite/Remix project.
Just hit error after error due to the fact the library is mixing CommonJS and ES Module syntax.
Can't say I've ever had to deal with this with other packages.
I got it working in development using https://www.npmjs.com/package/vite-plugin-cjs-interop - but this resulted in further errors when it came to a production build, which I couldn't work out.
I don't want to dive into all the details of the errors and things done to avoid each. I just want to ask if there are plans to release an ES Module supported version of this library so it can simply be imported into ESM apps?
Cheers
GaryVoss and fabregas4
Metadata
Metadata
Assignees
Labels
No labels