Cleanup tsconfig (#866)
* Simplify tsconfig * Add separate tsconfig for renderer to get rid of last warnings
This commit is contained in:
parent
2bdd7413aa
commit
266f089b3e
|
@ -1066,6 +1066,12 @@
|
|||
"integrity": "sha512-Q1y515GcOdTHgagaVFhHnIFQ38ygs/kmxdNpvpou+raI9UO3YZcHDngBSYKQklcKlvA7iuQlmIKbzvmxcOE9CQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/duo_web_sdk": {
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/duo_web_sdk/-/duo_web_sdk-2.7.0.tgz",
|
||||
"integrity": "sha512-E8cRtor4+hYNVYZ/hk+0WoZtiGOWvxhX3UsJtNtVlDIk2d8dnbYX6wdhqBTwixPpw7ea3I8IS3BAK81GRXyLUQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/fs-extra": {
|
||||
"version": "9.0.11",
|
||||
"resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.11.tgz",
|
||||
|
|
|
@ -248,6 +248,7 @@
|
|||
"devDependencies": {
|
||||
"@angular/compiler-cli": "^11.2.10",
|
||||
"@ngtools/webpack": "^11.2.10",
|
||||
"@types/duo_web_sdk": "^2.7.0",
|
||||
"@types/lunr": "^2.3.3",
|
||||
"@types/node": "^10.17.58",
|
||||
"@types/node-forge": "^0.9.7",
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
|
||||
import { InputVerbatimDirective } from 'jslib/angular/directives/input-verbatim.directive';
|
||||
import { SearchPipe } from 'jslib/angular/pipes/search.pipe';
|
||||
|
||||
@NgModule({
|
||||
imports: [],
|
||||
declarations: [
|
||||
InputVerbatimDirective,
|
||||
SearchPipe,
|
||||
],
|
||||
})
|
||||
export class DummyModule {
|
||||
}
|
|
@ -21,17 +21,9 @@
|
|||
"angularCompilerOptions": {
|
||||
"preserveWhitespaces": true
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"jslib/node_modules",
|
||||
"proxy",
|
||||
"dist",
|
||||
"dist-safari",
|
||||
"jslib/dist",
|
||||
"build",
|
||||
"jslib/spec",
|
||||
"jslib/src/cli",
|
||||
"jslib/src/services/nodeApi.service.ts",
|
||||
"jslib/src/services/lowdbStorage.service.ts"
|
||||
"files": [
|
||||
"src/entry.ts",
|
||||
"src/global.d.ts",
|
||||
"jslib/src/globals.d.ts"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"files": [
|
||||
"src/app/main.ts",
|
||||
"src/global.d.ts",
|
||||
"jslib/src/globals.d.ts"
|
||||
]
|
||||
}
|
|
@ -108,7 +108,7 @@ const renderer = {
|
|||
},
|
||||
plugins: [
|
||||
new AngularCompilerPlugin({
|
||||
tsConfigPath: 'tsconfig.json',
|
||||
tsConfigPath: 'tsconfig.renderer.json',
|
||||
entryModule: 'src/app/app.module#AppModule',
|
||||
sourceMap: true,
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue