From 388a2faf840f4ddc46c24c16efac150e5e9c25c3 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Fri, 2 Oct 2020 17:33:25 +0200 Subject: [PATCH] Fix build --- angular.json | 2 +- projects/common-map3d/tsconfig.lib.json | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/angular.json b/angular.json index 4a2d49a..38635a7 100644 --- a/angular.json +++ b/angular.json @@ -249,7 +249,7 @@ "prefix": "fm-map3d", "architect": { "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", + "builder": "@angular-devkit/build-angular:ng-packagr:build", "options": { "tsConfig": "projects/common-map3d/tsconfig.lib.json", "project": "projects/common-map3d/ng-package.json" diff --git a/projects/common-map3d/tsconfig.lib.json b/projects/common-map3d/tsconfig.lib.json index 6e06ad5..250ae7a 100644 --- a/projects/common-map3d/tsconfig.lib.json +++ b/projects/common-map3d/tsconfig.lib.json @@ -1,12 +1,16 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ { "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "../../out-tsc/lib", "target": "es2015", + "module": "es2015", + "moduleResolution": "node", "declaration": true, - "declarationMap": true, + "sourceMap": true, "inlineSources": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "importHelpers": true, "types": [], "lib": [ "dom", @@ -16,7 +20,10 @@ "angularCompilerOptions": { "skipTemplateCodegen": true, "strictMetadataEmit": true, - "enableResourceInlining": true + "fullTemplateTypeCheck": true, + "strictInjectionParameters": true, + "enableResourceInlining": true, + "enableIvy": false }, "exclude": [ "src/test.ts",