Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create and export ES module along side umd bundle #151

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

blikblum
Copy link

Fixes #138

This PR add the minimal non break change to support ES module and keep umd bundle as is today

It converts the main source file to ES module and adapt the test setup to load it (upgraded mocha to support running ES module)

It adds a rollup config that creates a umd bundle in prepublishOnly script. This bundle keeps the same custom functionality as is today (auto register in chai when used as script)

@blikblum blikblum mentioned this pull request Aug 2, 2022
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.

es module version
1 participant