TSC Build System

This commit is contained in:
deytenit committed 2024-01-16 19:20:05 +03:00
1 parent 29fcdcc06f
commit d7421251ba
5 files changed
+58 -8

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": ".",
"outDir": "./dist",
"composite": true
},
"include": ["config.ts"]
}
+16
View File
@@ -0,0 +1,16 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"paths": {
"$config.js": ["../../config.js"],
"$lib/*": ["../../src/lib/*"],
"$mlib/*": ["./lib/*"]
},
"rootDir": ".",
"outDir": "../../dist/modules/core",
"composite": true
},
"references": [{ "path": "../../src/" }]
}
+16
View File
@@ -0,0 +1,16 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"paths": {
"$config.js": ["../../config.js"],
"$lib/*": ["../../src/lib/*"],
"$mlib/*": ["./lib/*"]
},
"rootDir": ".",
"outDir": "../../dist/modules/music",
"composite": true
},
"references": [{ "path": "../../src/" }]
}
+15
View File
@@ -0,0 +1,15 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"paths": {
"$config": ["../config.js"],
"$lib/*": ["./lib/*"]
},
"rootDir": ".",
"outDir": "../dist/src",
"composite": true
},
"references": [{ "path": "../config.tsconfig.json" }]
}
+1 -8
View File
@@ -4,15 +4,9 @@
"module": "NodeNext",
"moduleResolution": "NodeNext",
"paths": {
"$config": ["config.js"],
"$lib/*": ["src/lib/*"],
"$modules/*": ["src/modules/*"]
},
"resolveJsonModule": true,
"types": ["node"],
"outDir": "dist",
"sourceMap": true,
"esModuleInterop": true,
@@ -22,6 +16,5 @@
"skipLibCheck": true
},
"include": ["src/**/*", "config.ts"],
"exclude": ["node_modules", "dist"]
"references": [{ "path": "./modules/core" }, { "path": "./modules/music" }]
}