mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: enable swc and ts-node in server dev
This commit is contained in:
1 parent
f466a7a793
commit
84e65c9ef6
3 files changed
+11
-5
No files matched your search
+2
-3
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"watch": ["dist", "swagger.yaml", "../quests", "../packages"],
|
||||
"watch": ["src", "swagger.yaml", "../quests", "../packages"],
|
||||
"ext": "js,ts,yaml,yml",
|
||||
"exec": "node -r source-map-support/register dist/index.js",
|
||||
"delay": 200
|
||||
"exec": "node --loader ts-node/esm src/index.js"
|
||||
}
|
||||
Reference in new issue
Block a user