Some commands: npm run build - to build the library. Output is in dist/ng2-file-upload/. npm run test - to run tests. Coverage report is in coverage/ as before. npm run demo.serve - to build demo application and serve it through browsersync npm run start - to run demo application using `ng serve`. Requires the library to be built and linked first.
13 lines
363 B
TypeScript
13 lines
363 B
TypeScript
import '../../scripts/polyfills.ts';
|
|
|
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
import { enableProdMode } from '@angular/core';
|
|
import { environment } from './environments/environment';
|
|
import { AppModule } from './app/';
|
|
|
|
if (environment.production) {
|
|
enableProdMode();
|
|
}
|
|
|
|
platformBrowserDynamic().bootstrapModule(AppModule);
|