don't warn me about commonjs related to firebase

This commit is contained in:
Jason Wall 2020-08-08 18:02:23 -04:00
parent e1ec08b8b9
commit 49f0969fc0
3 changed files with 20 additions and 21 deletions

View File

@ -23,14 +23,15 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": []
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss"],
"scripts": [],
"allowedCommonJsDependencies": [
"firebase",
"@firebase/app",
"@firebase/auth",
"@firebase/database"
]
},
"configurations": {
"production": {
@ -87,13 +88,8 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss"],
"scripts": []
}
},
@ -105,9 +101,7 @@
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
},
"e2e": {
@ -130,4 +124,4 @@
}
},
"defaultProject": "db"
}
}

View File

@ -4,7 +4,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build": "ng build --prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"

View File

@ -24,7 +24,12 @@
{{ para.p.h }}
</h3>
<p [ngClass]="{ 'as-inline': !(showParagraphs$ | async) }">
<p
[ngClass]="{
'as-inline':
(showParagraphs$ | async) === (false | null | undefined)
}"
>
<ng-container *ngFor="let vs of para.vss">
<strong class="verse-number" *ngIf="showVerseNumbers$ | async"
>{{ vs.v }}.</strong