Skip to content

Instantly share code, notes, and snippets.

@prigara
Created May 14, 2018 13:41
Show Gist options
  • Save prigara/677dc5f6fc146bab6780e29f25940630 to your computer and use it in GitHub Desktop.
Save prigara/677dc5f6fc146bab6780e29f25940630 to your computer and use it in GitHub Desktop.
Unoptimized imports
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms'; // FormsModule is no longer unused, so we can remove its import
import { AppComponent } from './app.component';
import { NgModule } from '@angular/core';
import { ApplicationInitStatus } from '@angular/core'; // this one imports from the same module as the one above, so they can be merged into one import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment