Skip to content

Migrate to vite for webui#1399

Merged
netomi merged 12 commits intoeclipse:masterfrom
netomi:switch-to-vite
Feb 24, 2026
Merged

Migrate to vite for webui#1399
netomi merged 12 commits intoeclipse:masterfrom
netomi:switch-to-vite

Conversation

@netomi
Copy link
Contributor

@netomi netomi commented Nov 10, 2025

This PR is intended to migrate the existing frontend build system to use vite.

Changes:

  • use modern jsx transform avoiding the need to import React
  • use vite for building and running a dev server
  • update tsconfig
  • update docker build and compose configs

@netomi netomi marked this pull request as ready for review November 18, 2025 10:00
@netomi
Copy link
Contributor Author

netomi commented Nov 18, 2025

To run a dev server you can just enter yarn watch:default

Running yarn run build will build the library in /lib which is needed for publishing to npm and building open-vsx.org.

The default server can be built using yarn build:default and then executed with yarn start:default.

I did not touch the existing tsconfig as much as possible, but it could be further improved.

Vite does not use tsc for building but rather uses esbuild, so the tsconfig for building the app has an explicit noEmit: true to get warning but not emit js files as this would be useless.

Copy link
Contributor

@gnugomez gnugomez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall

@netomi
Copy link
Contributor Author

netomi commented Nov 26, 2025

any objection to merge that PR?

That would make frontend development less painful.

@netomi netomi merged commit 86612cb into eclipse:master Feb 24, 2026
4 checks passed
@netomi netomi deleted the switch-to-vite branch February 24, 2026 08:02
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.

3 participants