From e953850cf79808e1b94d5287b28164d9b4be3368 Mon Sep 17 00:00:00 2001 From: luo2430 Date: Mon, 15 Jun 2026 20:41:11 +0800 Subject: [PATCH] fix: use `npx` to run lex build command for windows compat --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 9c6a1d96b7..9d5ec1df49 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,7 +14,7 @@ export default defineConfig({ command: 'knip && knip --production --exclude dependencies', }, 'generate:lexicons': { - command: 'lex build --lexicons lexicons --out shared/types/lexicons --clear', + command: 'npx lex build --lexicons lexicons --out shared/types/lexicons --clear', }, 'generate:sprite': { command: 'node scripts/generate-file-tree-sprite.ts',