mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 06:31:47 +03:00
1c9d899831
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)
43 lines
924 B
JSON
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"
|
|
}
|
|
}
|