Skip to content

Conversation

@madskronborg
Copy link

The library does not currently support ESM, which makes it impossible to use in newer frameworks like Nuxt 3, where every downstream dependency needs to support ESM.

This PR introduces vite as the build system and updates eslint to v9 with flat config support.

Most importantly it drops babel support, which was the cause of the ESM-incompatibility.

It creates build artefacts in both UMD and ESM, which covers most modern use cases.

Please let me know if there is anything I can do to help add ESM support to the package 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant