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

Add esm support #245

Merged
merged 12 commits into from
Dec 21, 2022
Merged

Add esm support #245

merged 12 commits into from
Dec 21, 2022

Conversation

bgrins
Copy link
Owner

@bgrins bgrins commented Dec 20, 2022

Found a simpler solution compared with #241 by using rollup directly, and moving all the cjs implementation (including tests which get duplicated) into a subdirectory

This also replaces a number of the current tools (grunt, docco, qunit) and will need some additional work to get testing running in CI.

Todo:

  • Set up github action
  • Set up pages on master, or merge to gh-pages
  • Doc updates (readme, page)
  • Delete files (bower, docco, qunit, Gruntfile, travis.yml)

Follow ups

  • Remove things like mathRound = Math.round
  • Export the utility functions directly
  • Publish a 1.5.0

@bgrins bgrins mentioned this pull request Dec 20, 2022
6 tasks
@bgrins
Copy link
Owner Author

bgrins commented Dec 21, 2022

#217

@bgrins
Copy link
Owner Author

bgrins commented Dec 21, 2022

https://github.com/bgrins/test-tinycolor-upgrade is looking good with a test deploy from this branch. Both CJS and ESM are working as expected

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