From 46a5b53af072dc3413ed87b01cd5b99e5db21029 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 25 Mar 2021 22:24:33 +0100 Subject: [PATCH] Fixing release compilation --- angular.json | 3 +-- src/app/misc/horizontal-scroller.ts | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/angular.json b/angular.json index 5e9368b3..9aa942a9 100644 --- a/angular.json +++ b/angular.json @@ -54,7 +54,6 @@ "optimization": true, "outputHashing": "all", "sourceMap": false, - "extractCss": true, "namedChunks": false, "aot": true, "extractLicenses": true, @@ -98,7 +97,7 @@ "tsConfig": "tsconfig.json", "exclude": [ "**/node_modules/**", - "dist" + "dist" ] } } diff --git a/src/app/misc/horizontal-scroller.ts b/src/app/misc/horizontal-scroller.ts index a6fb1577..7a3dd322 100644 --- a/src/app/misc/horizontal-scroller.ts +++ b/src/app/misc/horizontal-scroller.ts @@ -1,7 +1,10 @@ -import { ElementRef, ViewChild } from "@angular/core"; +import { Component, ElementRef, ViewChild } from "@angular/core"; import { MatButton } from "@angular/material/button"; - +// noinspection AngularMissingOrInvalidDeclarationInModule +@Component({ + template: "" +}) export class HorizontalScroller { @ViewChild("scrollView", { static: true }) private scrollView: ElementRef;