webview: migrate vitest@3 esbuild plugin-option to oxc #177

Open
opened 2026-05-13 16:28:25 +00:00 by KofTwentyTwo · 0 comments
KofTwentyTwo commented 2026-05-13 16:28:25 +00:00 (Migrated from github.com)

On every test run we get: [vite] warning: \esbuild` option was specified by "vitest" plugin. This option is deprecated, please use `oxc` instead.`

Vitest 3.x switched its default transform from esbuild to oxc. Removing the explicit esbuild option (or migrating to oxc-equivalent) silences the warning and aligns with vitest 3's expected config shape.

Refs PR #159 introduction of vitest@3.

On every test run we get: `[vite] warning: \`esbuild\` option was specified by \"vitest\" plugin. This option is deprecated, please use \`oxc\` instead.` Vitest 3.x switched its default transform from esbuild to oxc. Removing the explicit esbuild option (or migrating to oxc-equivalent) silences the warning and aligns with vitest 3's expected config shape. Refs PR #159 introduction of vitest@3.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/Jarvis#177