Skip to content

Commit 636eb34

Browse files
fix: routing module test function
1 parent 707d9ca commit 636eb34

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

src/fusebox/ng.aot-factory.plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface NgAotFactoryPluginOptions {}
1212
export class NgAotFactoryPluginClass implements Plugin {
1313
constructor(public opts: NgAotFactoryPluginOptions = defaults) {}
1414

15-
public test: RegExp = /-routing.module.js/
15+
public test: RegExp = /.routing.module.js/
1616

1717
onTypescriptTransform?(file: File) {
1818
if (!this.test.test(file.relativePath)) return

src/modules/firebase/auth/app.auth.module.ts

+2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ import {
88
FIREBASE_AUTH_COOKIE_FACTORY,
99
FIREBASE_AUTH_OBJ_TS
1010
} from './tokens'
11+
// import { FngFirebaseAuthLoadingComponent } from './loading-container/loading-container.component'
1112

1213
// tslint:disable:no-this
1314
// tslint:disable-next-line:no-class
1415
@NgModule({
16+
// declarations: [FngFirebaseAuthLoadingComponent],
1517
imports: [AngularFireAuthModule],
1618
exports: [AngularFireAuthModule],
1719
providers: [
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { Component, ChangeDetectionStrategy } from '@angular/core'
1+
// import { Component, ChangeDetectionStrategy } from '@angular/core'
22

3-
// tslint:disable-next-line:no-class
4-
@Component({
5-
selector: 'fng-auth-loading-container',
6-
styles: [
7-
':host{position:absolute;top:0;bottom:0;right:0;left:0;display:flex;justify-content:center;align-items:center;display:none}:host .transc{color:white;z-index:100;position:inherit;display:flex;justify-content:center;width:100%;height:100%;align-items:center}:host .auth-spin-overlay{z-index:99;background-color:white;height:100%;width:100%;position:inherit;animation:fadeIn .2s linear;opacity:1}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}'
8-
],
9-
template: `<div class="transc"><ng-content></ng-content></div><div class="auth-spin-overlay"></div>`,
10-
changeDetection: ChangeDetectionStrategy.OnPush
11-
})
12-
export class FngFirebaseAuthLoadingComponent {}
3+
// // tslint:disable-next-line:no-class
4+
// @Component({
5+
// selector: 'fng-auth-loading-container',
6+
// styles: [
7+
// ':host{position:absolute;top:0;bottom:0;right:0;left:0;display:flex;justify-content:center;align-items:center;display:none}:host .transc{color:white;z-index:100;position:inherit;display:flex;justify-content:center;width:100%;height:100%;align-items:center}:host .auth-spin-overlay{z-index:99;background-color:white;height:100%;width:100%;position:inherit;animation:fadeIn .2s linear;opacity:1}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}'
8+
// ],
9+
// template: `<div class="transc"><ng-content></ng-content></div><div class="auth-spin-overlay"></div>`,
10+
// changeDetection: ChangeDetectionStrategy.OnPush
11+
// })
12+
// export class FngFirebaseAuthLoadingComponent {}

0 commit comments

Comments
 (0)