Skip to content

Compile JavaScript assets using esbuild instead of Rollup#776

Merged
paulrobertlloyd merged 3 commits intomainfrom
fix/770-asset-compilation
Nov 17, 2024
Merged

Compile JavaScript assets using esbuild instead of Rollup#776
paulrobertlloyd merged 3 commits intomainfrom
fix/770-asset-compilation

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant