ux: remove webpack (hmr) from starter repo

This commit is contained in:
Kamil Myśliwiec
2018-11-03 15:27:42 +01:00
parent 2d2f16aa6d
commit 583f0ecb11
3 changed files with 2 additions and 56 deletions
-15
View File
@@ -1,15 +0,0 @@
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
declare const module: any;
async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
if (module.hot) {
module.hot.accept();
module.hot.dispose(() => app.close());
}
}
bootstrap();