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

Update build & tests systems #736

Merged
merged 11 commits into from
Apr 10, 2022
Merged

Update build & tests systems #736

merged 11 commits into from
Apr 10, 2022

Conversation

Glinkis
Copy link
Collaborator

@Glinkis Glinkis commented Apr 9, 2022

  • Replaces @rollup/plugin-babel, @rollup/plugin-json, rollup-plugin-terser, and @rollup/plugin-replace with rollup-plugin-esbuild-transform, which massively speeds up the compilation.

  • Extracts rita & sentry into separate bundles.

  • Replaces ts-jest with esbuild-runner, which massively speeds up the tests as well.

  • Updates all node scripts to typescript.

Benchmark summary:

Build: ~25s to ~5s
Tests: ~20s to ~3s 

@ryceg
Copy link
Owner

ryceg commented Apr 10, 2022

that's a sweet improvement. nice one

@ryceg ryceg merged commit d6fbbbf into master Apr 10, 2022
@ryceg ryceg deleted the update-build-system branch April 10, 2022 01:13
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.

2 participants