Skip to content

Commit 19c0750

Browse files
committed
Use correct tsconfig.json settings, remove cjs workaround, and install types for html-minifier-terser.
1 parent 7d01fc2 commit 19c0750

3 files changed

Lines changed: 3 additions & 51 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"@stylistic/eslint-plugin": "5.9.0",
3030
"@types/compression": "1.8.1",
3131
"@types/express": "5.0.6",
32+
"@types/html-minifier-terser": "7.0.2",
3233
"@types/node": "25.3.3",
3334
"@types/jest": "30.0.0",
3435
"eslint-plugin-jsdoc": "62.7.1",

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"checkJs": true,
55
"esModuleInterop": true,
66
"lib": ["es2022"],
7-
"module": "node16",
7+
"module": "nodenext",
88
"moduleDetection": "legacy",
9-
"moduleResolution": "node16",
9+
"moduleResolution": "nodenext",
1010
"outDir": "./.vscode/ts",
1111
"resolveJsonModule": true,
1212
"target": "es2022"

types/cjs/html-minifier-terser.d.ts

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)