瀏覽代碼

override compilerOptions when using ts-node

Yuki Takei 2 年之前
父節點
當前提交
70beb16e0e
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      apps/app/tsconfig.json

+ 5 - 1
apps/app/tsconfig.json

@@ -37,6 +37,10 @@
   ],
   "ts-node": {
     "transpileOnly": true,
-    "swc": true
+    "swc": true,
+    "compilerOptions": {
+      "module": "CommonJS",
+      "moduleResolution": "Node"
+    }
   }
 }