index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-30 18:35:45 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-30 18:35:45 -0700 |
commit | 921351bfb69dbf95d134bd78266d71b0a00f9835 (patch) | |
tree | f51b3f4e201fe163511b525b29ecfde502ec8e74 | |
parent | b65cad124cf5d0f358c1fa3f0cdb176f0f9e78e5 (diff) |
Simplify jsdom import in server file
-rw-r--r-- | esbuild-server.mjs | 3 |
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 = { |