mirror of
https://github.com/jeffvli/feishin.git
synced 2026-11-20 09:01:30 -08:00
- move src/i18n to packages/i18n (raw TS via exports map, no build step) - rewrite renderer imports /@/i18n -> @feishin/i18n; drop the alias from all vite configs and tsconfig includes - repoint i18next script at packages/i18n/i18next-parser.config.js (ESM); parser output now writes into the package locales dir
26 lines
505 B
JSON
26 lines
505 B
JSON
{
|
|
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
|
|
"include": [
|
|
"electron.vite.config.*",
|
|
"vite.kuromoji-plugin.ts",
|
|
"vite.react-plugin.ts",
|
|
"src/main/**/*",
|
|
"src/preload/**/*",
|
|
"src/types/**/*"
|
|
],
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"types": ["electron-vite/node"],
|
|
"esModuleInterop": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"/@/main/*": [
|
|
"src/main/*"
|
|
],
|
|
"/@/preload/*": [
|
|
"src/preload/*"
|
|
]
|
|
}
|
|
}
|
|
}
|