]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - tsconfig.base.json
Optimize server eslint
[github/Chocobozzz/PeerTube.git] / tsconfig.base.json
index ef86b97975f18a822d45ddf489789dd2ae25f5b3..a323b0d05e5293f2682f3809c8b39da8f2c66c23 100644 (file)
@@ -3,7 +3,7 @@
     "module": "commonjs",
     "target": "es2015",
     "noImplicitAny": false,
-    "sourceMap": false,
+    "sourceMap": true,
     "experimentalDecorators": true,
     "emitDecoratorMetadata": true,
     "importHelpers": true,
@@ -12,6 +12,7 @@
     "esModuleInterop": true,
     "forceConsistentCasingInFileNames": true,
     "lib": [
+      "dom",
       "es2015",
       "es2016",
       "es2017",
     ],
     "typeRoots": [
       "node_modules/@types",
+      "client/node_modules/@types"
     ],
     "baseUrl": "./",
-    "outDir": "./dist/",
     "paths": {
       "@server/*": [ "server/*" ],
-      "@shared/*": [ "shared/*" ]
+      "@shared/*": [ "shared/*" ],
+      "@client/*": [ "client/src/*" ],
     },
     "resolveJsonModule": true,
     "strict": false,
     "skipLibCheck": true,
-    "composite": true
+    "composite": true,
+    "declarationMap": true
   }
 }