From 42836cac28236c4f03adea917373ba8f4f100c4d Mon Sep 17 00:00:00 2001 From: Moe Myat Zaw Date: Tue, 16 Jun 2020 01:52:12 +0630 Subject: [PATCH] Update angular-build.json --- angular-build.json | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/angular-build.json b/angular-build.json index 8a7f1a3e..c6636dc4 100644 --- a/angular-build.json +++ b/angular-build.json @@ -1,7 +1,8 @@ { "$schema": "./node_modules/@dagonmetric/angular-build/src/schemas/schema.json#", - "libs": [{ - "extends": "ngb:lib-default", + "libs": [ + { + "extends": "ngb:lib-default", "name": "ng-config-firebase-remote-config", "root": "modules/ng-config-firebase-remote-config", "outputPath": "dist/packages/ng-config-firebase-remote-config", @@ -23,6 +24,27 @@ "banner": "../banner.txt" } } + }, + { + "name": "copy-firebase-config", + "root": ".", + "outputPath": "dist", + "clean": false, + "tsTranspilations": false, + "bundles": false, + "skip": true, + "envOverrides": { + "prod": { + "skip": false, + "copy": [ + { + "from": "firebase.json", + "to": "firebase.json" + + } + ] + } + } } ] }