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",