mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +09:00
Fix tsconfigs
This commit is contained in:
3 files changed
+32
-9
No files matched your search
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"composite": true,
|
||||||
|
"declaration": true,
|
||||||
|
"declarationMap": true,
|
||||||
|
"incremental": true,
|
||||||
|
"sourceMap": true,
|
||||||
|
"strict": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,8 +1,13 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.browser.json",
|
"extends": "./tsconfig.base.json",
|
||||||
"references": [
|
"compilerOptions": {
|
||||||
{ "path": "../../packages/lib/tsconfig.browser.json" },
|
"lib": ["dom", "es2023"],
|
||||||
{ "path": "../../packages/web_ui/tsconfig.browser.json" },
|
"module": "es2022",
|
||||||
],
|
"moduleResolution": "bundler",
|
||||||
|
"target": "es2022",
|
||||||
|
"jsx": "react-jsx",
|
||||||
|
"noEmitOnError": true,
|
||||||
|
"outDir": "${configDir}/dist/browser",
|
||||||
|
},
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
||||||
}
|
}
|
||||||
@@ -1,8 +1,13 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.node.json",
|
"extends": "./tsconfig.base.json",
|
||||||
"references": [
|
"compilerOptions": {
|
||||||
{ "path": "../../packages/lib/tsconfig.node.json" },
|
"lib": ["es2023"],
|
||||||
],
|
"module": "node16",
|
||||||
|
"moduleResolution": "node16",
|
||||||
|
"target": "es2022",
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"outDir": "${configDir}/dist/node"
|
||||||
|
},
|
||||||
"include": ["./**/*.ts"],
|
"include": ["./**/*.ts"],
|
||||||
"exclude": ["test/*", "./dist/*"],
|
"exclude": ["test/*", "./dist/*"],
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user