Fix Node built-in runtime imports
This commit is contained in:
@@ -5,8 +5,8 @@ import cookieParser from "cookie-parser";
|
|||||||
import { DocumentBuilder, SwaggerModule } from "@nestjs/swagger";
|
import { DocumentBuilder, SwaggerModule } from "@nestjs/swagger";
|
||||||
import { AllExceptionsFilter } from "./common/filters/all-exceptions.filter";
|
import { AllExceptionsFilter } from "./common/filters/all-exceptions.filter";
|
||||||
import * as express from "express";
|
import * as express from "express";
|
||||||
import path from "node:path";
|
import * as path from "node:path";
|
||||||
import fs from "node:fs";
|
import * as fs from "node:fs";
|
||||||
|
|
||||||
async function bootstrap() {
|
async function bootstrap() {
|
||||||
const app = await NestFactory.create(AppModule, { bodyParser: false });
|
const app = await NestFactory.create(AppModule, { bodyParser: false });
|
||||||
|
|||||||
Reference in New Issue
Block a user