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

feat: modernise and update #8

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

Conversation

ThaUnknown
Copy link

@ThaUnknown ThaUnknown commented Oct 23, 2022

  • updated to latest version of anitomy
  • switched to ESM [browserify is no longer needed as browsers support ESM imports]
  • removed build folder, and now build directly into dist as its no longer needed to bundle
  • removed unused EMS modules
  • reduced memory usage
  • rewrote to use async/await
  • removed unused dependencies

mocha doesn't really like ESM, so that will need to be changed, the built-in node:test should do just fine, but that's not covered in this PR

you could also probably do away with gulpfile and use a normal node script, but for now it's fine

all of the JS wrapping can be done away if one used the esm integration but the support for that is flakey at best, so for now its a no.

TLDR: bundle size is smaller, library loads faster, uses less memory, drops support for IE

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.

None yet

1 participant