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

Revisit CesiumJS build tooling #10373

Closed
ggetz opened this issue May 12, 2022 · 0 comments · Fixed by #10399
Closed

Revisit CesiumJS build tooling #10373

ggetz opened this issue May 12, 2022 · 0 comments · Fixed by #10399

Comments

@ggetz
Copy link
Contributor

ggetz commented May 12, 2022

Main motivations behind taking a more modern approach to the build process:

Factoring in community feedback and our own research, we plan on using esbuild to build, due to

  • Speed, which is crucial for decreasing developer friction when re-building after changes have been made
  • Relatively minimal configuration when compared with tools like webpack, which we've run into some fragility with in the past (for instance nodeRequire is not a function #7669), and vite (which uses esbuild under the hood). We won't be able to make much use out of the extra features these tools offer, such as hot module reloading.
  • TypeScript support if we chose to go that direction
  • Our experience using esbuild internally in other projects

As part of this, we'll want to:

Am I missing anything crucial?

I started a prototype in the build branch and building and bundling are already much faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Issue/PR closed
Development

Successfully merging a pull request may close this issue.

1 participant