AFFiNE/packages/frontend/electron/tsconfig.json
pengx17 1c9d899831
fix: runtime issue for electron app (#6306)
Looks like we need to be careful to share common libraries between electron (nodejs) & web

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7e568e47-2d61-45c8-8a1e-b933b63fd1a9.png)
2024-03-26 02:04:13 +00:00

43 lines
924 B
JSON

{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"target": "ES2022",
"module": "ESNext",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"types": ["node", "affine__env"],
"outDir": "lib",
"moduleResolution": "node",
"resolveJsonModule": true,
"noImplicitOverride": true,
"paths": {
"@toeverything/infra/*": ["../../common/infra/src/*"]
}
},
"include": ["./src"],
"exclude": ["renderer", "node_modules", "lib", "dist", "**/__tests__/**/*"],
"references": [
{
"path": "../../frontend/native"
},
{
"path": "../../common/infra"
},
{
"path": "../../common/env"
},
{
"path": "./tsconfig.node.json"
},
{
"path": "../../../tests/kit"
}
],
"ts-node": {
"esm": true,
"experimentalSpecifierResolution": "node"
}
}