feat: change to use commonjs output

This commit is contained in:
Lin, Hung-Shin authored and wancat committed 2024-01-29 12:42:50 +08:00
1 parent 2bdb804f24
commit 557af91d4b
24 files changed
+35 -18

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
"name": "server",
"version": "0.0.0",
"description": "Linux Odyssey Server",
"type": "module",
"type": "commonjs",
"scripts": {
"start": "node dist/index.js",
"dev": "nodemon",
+3 -3
View File
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "esnext",
"module": "NodeNext",
"moduleResolution": "nodenext",
"target": "ES5",
"module": "CommonJS",
"moduleResolution": "Node",
"strict": true,
"esModuleInterop": true,
"outDir": "./dist",