Skip to content

Commit

Permalink
chore: enable partial compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
arturovt committed Mar 26, 2023
1 parent 35dfc3f commit bbd2544
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 24 deletions.
21 changes: 3 additions & 18 deletions libs/dispatch-decorator/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
{
"compilerOptions": {
"target": "es2022",
"useDefineForClassFields": false,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
},
"files": [],
"include": [],
"extends": "../../tsconfig.base.json",
"references": [
{
"path": "./tsconfig.lib.json"
Expand All @@ -19,11 +8,7 @@
"path": "./tsconfig.spec.json"
}
],
"extends": "../../tsconfig.base.json",
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
"compilerOptions": {
"target": "es2020"
}
}
24 changes: 18 additions & 6 deletions libs/dispatch-decorator/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"declaration": true,
"declarationMap": true,
"target": "es2020",
"module": "es2015",
"inlineSources": true,
"types": []
"importHelpers": true,
"downlevelIteration": true,
"lib": ["dom", "es2018"],
"types": ["node"],
"useDefineForClassFields": false
},
"exclude": ["src/test-setup.ts", "src/**/*.spec.ts", "jest.config.ts", "src/**/*.test.ts"],
"include": ["src/**/*.ts"]
"angularCompilerOptions": {
"compilationMode": "partial",
"annotateForClosureCompiler": true,
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true,
"enableResourceInlining": true
},
"include": ["**/*.ts"],
"exclude": ["**/*.spec.ts"]
}

0 comments on commit bbd2544

Please sign in to comment.