Refactor: make Node.js run compatible

This commit is contained in:
SukkaW
2024-07-23 17:42:10 +08:00
parent 1f42c27afe
commit 553dd62eb1
32 changed files with 163 additions and 136 deletions

4
.swcrc
View File

@@ -6,5 +6,9 @@
"syntax": "typescript",
"dynamicImport": true
}
},
"module": {
"type": "commonjs",
"ignoreDynamic": true
}
}