Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions webui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ This change log covers only the frontend library (webui) of Open VSX.

### Fixed

- Fix the WebUI build failing on s390x and ppc64le: use postcss instead of lightningcss (no ppc64le binary) for CSS, and bump vite for the Rolldown big-endian sourcemap fix ([#2051](https://github.com/eclipse-openvsx/openvsx/issues/2051))
- Fix the admin publisher revoke dialog prompting for an Eclipse login even when the target publisher's agreement status is `none` or could not be determined (nothing confirmed to revoke)

### Dependencies

- Bump socks from `2.8.3` to `2.8.9`
- Bump ip-address from `9.0.5` to `10.4.0`
- Bump postcss from `8.5.22` to `8.5.25`
- Bump vite from `8.1.5` to `8.2.1`

## [v1.1.0] (02/08/2026)

Expand Down
2 changes: 1 addition & 1 deletion webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"rollup-plugin-visualizer": "^7.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.9.0",
"vite": "^8.1.5",
"vite": "^8.2.1",
"vitest": "^4.1.10"
},
"scripts": {
Expand Down
11 changes: 9 additions & 2 deletions webui/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import react from '@vitejs/plugin-react';
import { defineConfig, PluginOption } from 'vite';
import { visualizer } from 'rollup-plugin-visualizer';

const outRootDir = path.join(__dirname, 'dist');
const outRootDir = path.join(import.meta.dirname, 'dist');

export default defineConfig(() => ({
plugins: [react(), visualizer() as PluginOption],
Expand All @@ -17,7 +17,7 @@ export default defineConfig(() => ({
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
'@': path.resolve(import.meta.dirname, './src')
}
},
publicDir: 'static',
Expand All @@ -26,9 +26,16 @@ export default defineConfig(() => ({
environment: 'jsdom',
setupFiles: ['./test/setup.ts']
},
// lightningcss (Vite 8's default CSS transformer) ships no prebuilt binary for ppc64le,
// and its minifier isn't needed once postcss is handling transforms - see
// https://github.com/eclipse-openvsx/openvsx/issues/2051
css: {
transformer: 'postcss'
},
build: {
target: 'es2020',
minify: true,
cssMinify: false,
sourcemap: true,
outDir: outRootDir,
emptyOutDir: true,
Expand Down
Loading