split tsconfig
This commit is contained in:
2
Makefile
2
Makefile
@@ -8,7 +8,7 @@ config:
|
||||
tsc ${TSC_SCRIPT_FLAGS} ./src/config/definition.ts ./generators/config/kcfg.ts --outFile /dev/stdout | node - > ./package/contents/config/main.xml
|
||||
|
||||
build:
|
||||
tsc --outFile ./package/contents/code/main.js
|
||||
tsc -p ./src/main --outFile ./package/contents/code/main.js
|
||||
|
||||
install: build config
|
||||
kpackagetool6 --type=KWin/Script -i ./package || kpackagetool6 --type=KWin/Script -u ./package
|
||||
|
||||
6
src/main/tsconfig.json
Normal file
6
src/main/tsconfig.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": ".",
|
||||
}
|
||||
}
|
||||
@@ -3,14 +3,10 @@
|
||||
"target": "es2020",
|
||||
"lib": ["es2020"],
|
||||
"module": "none",
|
||||
"rootDir": "./src",
|
||||
"allowJs": false,
|
||||
"esModuleInterop": false,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"skipLibCheck": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user