Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--esbuild-server.mjs3
1 files changed, 1 insertions, 2 deletions
diff --git a/esbuild-server.mjs b/esbuild-server.mjs
index 13cca8b..51d953d 100644
--- a/esbuild-server.mjs
+++ b/esbuild-server.mjs
@@ -2,9 +2,8 @@ import * as esbuild from 'esbuild';
import * as fs from 'node:fs';
import http from 'node:http';
import path from 'node:path';
-import jsdom from 'jsdom';
+import { JSDOM } from 'jsdom';
-const { JSDOM } = jsdom;
const __dirname = path.dirname(new URL(import.meta.url).pathname);
const colors = {