Created
February 8, 2018 00:02
-
-
Save EduardoIbarra/1fc871583058af778d494ac2d1c5e495 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
import { ServiceWorkerModule } from '@angular/service-worker'; | |
... | |
@NgModule({ | |
declarations: [ | |
AppComponent | |
], | |
imports: [ | |
BrowserModule, | |
ServiceWorkerModule.register('/ngsw-worker.js', { enabled: environment.production }) | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment