mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
feat: change to use commonjs output
This commit is contained in:
1 parent
2bdb804f24
commit
557af91d4b
24 files changed
+35
-18
No files matched your search
+1
-1
@@ -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",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "nodenext",
|
||||
"target": "ES5",
|
||||
"module": "CommonJS",
|
||||
"moduleResolution": "Node",
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"outDir": "./dist",
|
||||
|
||||
Reference in new issue
Block a user