diff --git a/angular.json b/angular.json index 28d55bc..4b7bf67 100644 --- a/angular.json +++ b/angular.json @@ -18,8 +18,13 @@ "main": "src/main.ts", "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.app.json", - "assets": ["src/favicon.ico", "src/assets"], - "styles": ["src/styles.css"], + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.css" + ], "scripts": [], "vendorChunk": true, "extractLicenses": false, @@ -86,16 +91,27 @@ "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.spec.json", "karmaConfig": "karma.conf.js", - "assets": ["src/favicon.ico", "src/assets"], - "styles": ["src/styles.css"], + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.css" + ], "scripts": [] } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { - "tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"], - "exclude": ["**/node_modules/**"] + "tsConfig": [ + "tsconfig.app.json", + "tsconfig.spec.json", + "e2e/tsconfig.json" + ], + "exclude": [ + "**/node_modules/**" + ] } }, "e2e": { @@ -124,10 +140,16 @@ "build": { "builder": "@angular-devkit/build-angular:ng-packagr", "options": { - "tsConfig": "projects/fab-speed-dial/tsconfig.lib.json", "project": "projects/fab-speed-dial/ng-package.json" }, - "configurations": {} + "configurations": { + "production": { + "tsConfig": "projects/fab-speed-dial/tsconfig.lib.prod.json" + }, + "development": { + "tsConfig": "projects/fab-speed-dial/tsconfig.lib.json" + } + } }, "test": { "builder": "@angular-devkit/build-angular:karma", @@ -144,7 +166,9 @@ "projects/fab-speed-dial/tsconfig.lib.json", "projects/fab-speed-dial/tsconfig.spec.json" ], - "exclude": ["**/node_modules/**"] + "exclude": [ + "**/node_modules/**" + ] } } }