1
0
forked from baron/baron-sso

fix: Vite import-analysis 에러 수정을 위해 locale 파일을 src 내부로 복사 및 경로 수정 #239

This commit is contained in:
2026-02-11 11:04:39 +09:00
parent 10aa6f837f
commit f83af9c8cc
4 changed files with 3926 additions and 2 deletions

View File

@@ -108,10 +108,10 @@ function detectLocale(): Locale {
}
// eslint-disable-next-line import/no-unresolved
import enRaw from "../../../locales/en.toml?raw";
import enRaw from "../locales/en.toml?raw";
// Vite ?raw import는 런타임 상수로 번들됩니다.
// eslint-disable-next-line import/no-unresolved
import koRaw from "../../../locales/ko.toml?raw";
import koRaw from "../locales/ko.toml?raw";
const translations: Record<Locale, TomlObject> = {
ko: parseToml(koRaw),