Skip to content

js: migrate from Webpack to esbuild#200

Open
sectore wants to merge 1 commit intoseanhess:mainfrom
sectore:esbuild
Open

js: migrate from Webpack to esbuild#200
sectore wants to merge 1 commit intoseanhess:mainfrom
sectore:esbuild

Conversation

@sectore
Copy link
Copy Markdown

@sectore sectore commented Apr 21, 2026

Why?

Webpack is just used to bundle / minify / watch TS sources. In 2026 we do have better options to replace Webpack for such tasks, which is slow in general. One common option is esbuild (simple to use + very fast). Check its Benchmark details comparing to Webpack.

Changes

  • use esbuild to get rid of Webpack entirely
  • update build/dev scripts
  • fix TS warnings: Boolean -> boolean, require -> import
  • remove all client/dist/*.d.ts files (needed if Hyperbole client is a JS/TS library, which seems not to be the case).
  • update tsconfig.json
  • update deps in package.json

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.

1 participant