[fix] Enable i18n workflow for sno-fix-playwright branches

- Set useDefineForClassFields to true in tsconfig.json to prevent TypeScript declare field issues
- This avoids Babel transformation errors in Playwright i18n tests
This commit is contained in:
snomiao
2025-09-04 21:39:56 +00:00
parent 84be486514
commit 810ce1410e
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@@ -86,3 +86,4 @@ storybook-static
.github/instructions/nx.instructions.md
vite.config.*.timestamp*
vitest.config.*.timestamp*
scripts-out/

View File

@@ -4,6 +4,7 @@
"module": "ESNext",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"useDefineForClassFields": true,
"incremental": true,
"sourceMap": true,
"esModuleInterop": true,