Repository navigation
refactor: Remove babel dependency - #471
Conversation
|
Oh wow, so @jdalrymple for npm distributions that don't require a transpile step, we can literally just copy the src to dist/ and that's what NPM ingests? I'm asking because in the Python world, some things are actually moved around, like metadata, in the build step. But here we don't need any sort of file modification as the src/ that we work on is the exact same src in dist/ that npm will receive? 🤯 (head exploding x10 given how complex python packaging is). |
|
we can merge this! |
Wild eh! haha We could still do some modifications if we wanted, but compiling things isnt needed. If we were ever interested in shrinking the package size for example, we could still have a minified process, but thats usually less needed for a nodejs package vs a library used in the browser. |
# Conflicts: # package-lock.json
4baf281 to
718cda6
Compare
What: Now that we deliver a complete ESM package, babel compilation isnt needed.
Why: Its no longer needed
How: Remove babel config
Checklist: