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

Build system upgrades #406

Open
RDIL opened this issue Mar 31, 2024 · 0 comments
Open

Build system upgrades #406

RDIL opened this issue Mar 31, 2024 · 0 comments
Assignees
Labels
meta Issue for storing information.
Milestone

Comments

@RDIL
Copy link
Member

RDIL commented Mar 31, 2024

As we all know, build systems are hard. Ours has gotten a bit convoluted with the introduction of challenges and mastery, and has some really slow and messy spots that can be improved upon. Here are some of the things I want to improve upon:

  1. The dev server takes ~10 seconds to start the dev server on my M1 Mac - that's pretty slow. I've done some profiling, and the Brotli (de)compression of our contracts takes a super long time. We should switch this to messagepack instead.
  2. We shouldn't do the work twice. We can use things like turborepo to cache and only do things once.
  3. Rework the static folder and config handling - 8mb in 1 chunk is too much.
  4. We should switch esbuild to output esm instead of commonjs, that way we can distribute multiple tiny chunks.
@RDIL RDIL added the meta Issue for storing information. label Mar 31, 2024
@RDIL RDIL self-assigned this Mar 31, 2024
@RDIL RDIL added this to the v8 milestone Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Issue for storing information.
Projects
None yet
Development

No branches or pull requests

1 participant