Kaynağa Gözat

правки конфига

Vadim 10 ay önce
ebeveyn
işleme
fed627cd65
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      nodemon.json
  2. 1 1
      tsconfig.json

+ 1 - 1
nodemon.json

@@ -1,5 +1,5 @@
 {
-  "watch": ["src"],
+  "watch": ["src", ".env"],
   "ext": ".ts, .js",
   "ignore": [],
   "exec": "npx tsx ./src/main.ts && npx eslint ./src"

+ 1 - 1
tsconfig.json

@@ -29,7 +29,7 @@
     /* Modules */
     "module": "NodeNext" /* Specify what module code is generated. */,
     // "module": "esnext" /* Specify what module code is generated. */,
-    // "rootDir": "./",                                  /* Specify the root folder within your source files. */
+    "rootDir": "./" /* Specify the root folder within your source files. */,
     "moduleResolution": "nodenext" /* Specify how TypeScript looks up a file from a given module specifier. */,
     // "baseUrl": "./",                                  /* Specify the base directory to resolve non-relative module names. */
     // "paths": {},                                      /* Specify a set of entries that re-map imports to additional lookup locations. */