mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-51237 Setting moduleResolution to bundler, fixing build issues
This commit is contained in:
@@ -315,8 +315,6 @@ export default [
|
||||
parser: angularTemplateParser
|
||||
},
|
||||
rules: {
|
||||
...angularEslintTemplatePlugin.configs.recommended.rules,
|
||||
...angularEslintTemplatePlugin.configs.accessibility.rules,
|
||||
...nxPlugin.configs['angular-template'].rules,
|
||||
'@angular-eslint/template/prefer-self-closing-tags': 'error'
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "../../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"emitDecoratorMetadata": true,
|
||||
"moduleResolution": "bundler"
|
||||
},
|
||||
|
||||
"exclude": ["../**/*.spec.ts" ],
|
||||
|
||||
@@ -100,7 +100,7 @@ export class PopOverDirective implements OnInit, OnDestroy, AfterViewInit {
|
||||
}
|
||||
|
||||
@HostListener('keyup.enter')
|
||||
private toggleOverlay(): void {
|
||||
toggleOverlay(): void {
|
||||
if (!this.overlayRef.hasAttached()) {
|
||||
this.attachOverlay();
|
||||
} else {
|
||||
@@ -125,7 +125,7 @@ export class PopOverDirective implements OnInit, OnDestroy, AfterViewInit {
|
||||
}
|
||||
|
||||
@HostListener('document:keyup.esc')
|
||||
private detachOverlay(): void {
|
||||
detachOverlay(): void {
|
||||
if (this.overlayRef.hasAttached()) {
|
||||
this.overlayRef.detach();
|
||||
this._open = false;
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "../../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"emitDecoratorMetadata": true,
|
||||
"moduleResolution": "bundler"
|
||||
},
|
||||
|
||||
"exclude": ["../**/*.spec.ts" ],
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"skipTemplateCodegen": true,
|
||||
"strictMetadataEmit": true,
|
||||
"enableResourceInlining": true,
|
||||
"typeCheckHostBindings": false,
|
||||
"strictTemplates": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"skipTemplateCodegen": true,
|
||||
"strictMetadataEmit": true,
|
||||
"enableResourceInlining": true,
|
||||
"typeCheckHostBindings": false,
|
||||
"strictTemplates": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,5 +6,6 @@
|
||||
"removeComments": false,
|
||||
"declaration": true,
|
||||
"declarationDir": "../../../dist/libs/js-api/typings",
|
||||
"emitDeclarationOnly": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "../../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"emitDecoratorMetadata": true,
|
||||
"moduleResolution": "bundler"
|
||||
},
|
||||
"exclude": ["../**/*.spec.ts", "../**/test.ts", "../**/*.module.ts" ],
|
||||
"include": ["../src/**/*", "*.ts"]
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "../../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"emitDecoratorMetadata": true,
|
||||
"moduleResolution": "bundler"
|
||||
},
|
||||
|
||||
"exclude": [
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
"baseUrl": ".",
|
||||
"sourceMap": true,
|
||||
"declaration": false,
|
||||
"moduleResolution": "node",
|
||||
"moduleResolution": "bundler",
|
||||
"experimentalDecorators": true,
|
||||
"skipLibCheck": true,
|
||||
"noUnusedLocals": true,
|
||||
|
||||
Reference in New Issue
Block a user