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

Esbuild refactor #23

Merged
merged 7 commits into from
Oct 17, 2022
Merged

Esbuild refactor #23

merged 7 commits into from
Oct 17, 2022

Conversation

GRA0007
Copy link
Member

@GRA0007 GRA0007 commented Oct 13, 2022

Closes #21

This PR swaps parcel for esbuild, now with ~10x faster compilation speeds. Note that the build command currently manually excludes all node modules from the bundle, instead of using a glob like --external:./node_modules/*, due to this bug in esbuild: evanw/esbuild#1958

This PR also swaps to commander for cli argument parsing instead of yargs for a more stable and simpler DX.

Finally, I've set up changesets to automatically version this package.

@GRA0007 GRA0007 self-assigned this Oct 13, 2022
Copy link
Member

@giraugh giraugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

index.ts Show resolved Hide resolved
@giraugh giraugh changed the title Esbuild Esbuild refactor Oct 17, 2022
@GRA0007 GRA0007 merged commit 2b8534a into main Oct 17, 2022
@GRA0007 GRA0007 deleted the feat/esbuild branch October 17, 2022 06:47
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.

Investigate using esbuild
2 participants