From 41191d54fb4d23466b4bf8fa4df063215e39145e Mon Sep 17 00:00:00 2001 From: xiaobao <54174950+xiaobao0505@users.noreply.github.com> Date: Thu, 3 Jul 2025 21:59:18 +0800 Subject: [PATCH] fix(projects): Fix i18n-ally not working when setting moduleResolution to bundler. fixed #780 --- .vscode/settings.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 9c2cb201..46e69364 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,6 +11,9 @@ "i18n-ally.editor.preferEditor": true, "i18n-ally.keystyle": "nested", "i18n-ally.localesPaths": ["src/locales/langs"], + "i18n-ally.parsers.typescript.compilerOptions": { + "moduleResolution": "node" + }, "prettier.enable": false, "typescript.tsdk": "node_modules/typescript/lib", "unocss.root": ["./"],