require the use of node prefix on native imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
import { mockServices } from '@backstage/backend-test-utils';
|
||||
import { Request, Response } from 'express';
|
||||
import * as http from 'http';
|
||||
import * as http from 'node:http';
|
||||
import {
|
||||
createProxyMiddleware,
|
||||
fixRequestBody,
|
||||
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
fixRequestBody,
|
||||
RequestHandler,
|
||||
} from 'http-proxy-middleware';
|
||||
import http from 'http';
|
||||
import http from 'node:http';
|
||||
import { JsonObject } from '@backstage/types';
|
||||
import {
|
||||
DiscoveryService,
|
||||
|
||||
Reference in New Issue
Block a user