mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-17 10:01:59 +03:00
332cd3b380
This pr is trying to split `web` and `electron` entries from `core`. It allows more platform-related optimization to be addressed in each entry. We should remove all browser/electron only codes from `core` eventually, this is the very first step for that.
40 lines
827 B
JSON
40 lines
827 B
JSON
{
|
|
"extends": "../../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"skipLibCheck": true,
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"types": ["node"],
|
|
"outDir": "lib",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"noImplicitOverride": true
|
|
},
|
|
"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"
|
|
}
|
|
}
|