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

use esbuild to bundle dependencies and minify source #70

Merged
merged 17 commits into from
Oct 3, 2023
Merged

Conversation

mldangelo
Copy link
Contributor

@mldangelo mldangelo commented Sep 30, 2023

This sets up esbuild to bundle dependencies and minify code. It also removes terser and simplifies the other build scripts. It's also much faster than terser (~1 second instead of 8 on my machine).

After this goes in, I will extract common functions and introduce unit tests for them.

@tamssokari we should discuss how you use the build scripts to make sure you're not impacted.

@mldangelo mldangelo self-assigned this Sep 30, 2023
@github-actions
Copy link

This branch has been deployed to s3 / cloudfront.

✅ Preview URL: https://cdn.smileidentity.com/inline/preview-bundle/js/script.js

@ayinloya
Copy link
Collaborator

ayinloya commented Oct 2, 2023

This looks good, happy to LTGM

@mldangelo mldangelo requested a review from vanshg October 2, 2023 22:58
@mldangelo mldangelo merged commit eddbc79 into main Oct 3, 2023
9 checks passed
@mldangelo mldangelo deleted the bundle branch October 3, 2023 15:31
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.

4 participants