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

Compile JavaScript assets using esbuild instead of Rollup #776

Merged
merged 3 commits into from
Nov 17, 2024

Conversation

paulrobertlloyd
Copy link
Collaborator

Running on Railway server:

Bundler Time
Rollup 1.698s
esbuild 119.075ms

esbuild compiles assets ~13× faster than Rollup. Assets only get compiled on first load (and get cached thereafter), but this means that initial load is much faster. Also, removes quite a number of dependencies, too.

@paulrobertlloyd paulrobertlloyd added enhancement New feature or request frontend labels Nov 17, 2024
@paulrobertlloyd paulrobertlloyd added this to the v1.0 milestone Nov 17, 2024
@paulrobertlloyd paulrobertlloyd merged commit dcb6712 into main Nov 17, 2024
1 of 2 checks passed
@paulrobertlloyd paulrobertlloyd deleted the fix/770-asset-compilation branch November 17, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant