Skip to content

feat: modernise and update#8

Open
ThaUnknown wants to merge 9 commits intosugiruu:masterfrom
ThaUnknown:master
Open

feat: modernise and update#8
ThaUnknown wants to merge 9 commits intosugiruu:masterfrom
ThaUnknown:master

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.

1 participant