On Windows 11, I vp created a new Vite+ app and then overrode oxfmt version in package.json:
oxfmt v0.47.0 is unable to read its config from vite.config.ts:
2026-04-28 10:43:06.147 [info] Using server binary at: c:\Development\test-oxfmt\node_modules.bin\oxfmt
2026-04-28 10:43:06.224 [info] [Error - 10:43:06 AM] Server process exited with code 0.
2026-04-28 10:43:06.925 [info] 2026-04-28T08:43:06.925297Z INFO tokio-rt-worker oxc_language_server::backend: initialize: Some([WorkspaceOption { workspace_uri: Uri(Uri { scheme: "file", authority: Some(Authority { userinfo: None, host: "", host_parsed: RegName(""), port: None }), path: "/c%3A/Development/test-oxfmt", query: None, fragment: None }), options: Object {"fmt.experimental": Bool(true), "fmt.configPath": String("./vite.config.ts")} }])
2026-04-28T08:43:06.925338Z INFO tokio-rt-worker oxc_language_server::backend: oxfmt version: 0.47.0 (VP: 0.1.19)
2026-04-28 10:43:06.941 [info] 2026-04-28T08:43:06.941174Z WARN tokio-rt-worker oxfmt::lsp::server_formatter: Failed to deserialize LSPFormatOptions from JSON: no object passed, falling back to default options
Whereas v0.45.0 (which is the version that ships with Vite Plus) is able to load its config properly:
2026-04-28 09:47:28.596 [info] Searching for oxfmt binary.
2026-04-28 09:47:28.597 [info] Using server binary at: c:\Development\test-oxfmt\node_modules.bin\oxfmt
2026-04-28 09:47:29.098 [info] 2026-04-28T07:47:28.852150Z INFO tokio-rt-worker oxc_language_server::backend: initialize: Some([WorkspaceOption { workspace_uri: Uri(Uri { scheme: "file", authority: Some(Authority { userinfo: None, host: "", host_parsed: RegName(""), port: None }), path: "/c%3A/Development/test-oxfmt", query: None, fragment: None }), options: Object {"fmt.experimental": Bool(true), "fmt.configPath": String("./vite.config.ts")} }])
2026-04-28T07:47:28.852206Z INFO tokio-rt-worker oxc_language_server::backend: oxfmt version: 0.45.0
oxfmt v0.47.0 is able to load its config properly when run through vp fmt.
On Windows 11, I
vp created a new Vite+ app and then overrode oxfmt version inpackage.json:oxfmt v0.47.0 is unable to read its config from
vite.config.ts:Whereas v0.45.0 (which is the version that ships with Vite Plus) is able to load its config properly:
oxfmt v0.47.0 is able to load its config properly when run through
vp fmt.