import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ; import { decorateModuleRef } from './app/environment' ; import { bootloader } from '@angularclass/hmr' ; import { AppModule } from './app' ; import 'jquery' ; import 'bootstrap-sass' ; import 'bootstrap-material-design' ; declare let $ ; $ . material . init ( ) ; export function main ( ) { return platformBrowserDynamic ( ) . bootstrapModule ( AppModule ) . then ( decorateModuleRef ) . catch ( ( err ) => console . error ( err ) ) ; } bootloader ( main ) ;