|
@@ -1,14 +1,26 @@
|
|
|
{
|
|
|
"extends": "../tsconfig.base.json",
|
|
|
"compilerOptions": {
|
|
|
- "removeComments": true,
|
|
|
// outFile is not compatible with all module loaders, including CommonJS
|
|
|
"module": "commonjs",
|
|
|
// module: commonjs -> moduleResolution: node, just make it explicit
|
|
|
"moduleResolution": "node",
|
|
|
// Debug helper
|
|
|
- // "traceResolution": true
|
|
|
- "baseUrl": "./modules"
|
|
|
+ // "traceResolution": true,
|
|
|
+ // BaseUrl defines the default search base for non-relative imports
|
|
|
+ "baseUrl": "./modules",
|
|
|
+ // Paths works with baseUrl to configure how particular modules map to files.
|
|
|
+ "paths": {
|
|
|
+ // Module: [paths, relative to baseUrl].
|
|
|
+ "my_lib": ["./customPath"]
|
|
|
+ },
|
|
|
+ // RootDirs is useful when sources to combine are in multiple directory hierarchies.
|
|
|
+ "rootDirs": [
|
|
|
+ "modules",
|
|
|
+ "src",
|
|
|
+ "ts/modules"
|
|
|
+ ],
|
|
|
+ "removeComments": true
|
|
|
},
|
|
|
"files": [
|
|
|
"app.ts"
|