]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/tsconfig.json
Try to fix embed webpack build
[github/Chocobozzz/PeerTube.git] / client / tsconfig.json
index 7dc1a2457dc4ba979651fa72a82c7b73997be030..f1d97110dfbbba3bed6acf38fa3018668a352f8c 100644 (file)
@@ -1,26 +1,42 @@
 {
+  "compileOnSave": false,
   "compilerOptions": {
-    "target": "es5",
-    "module": "commonjs",
-    "moduleResolution": "node",
+    "outDir": "./dist/out-tsc",
     "sourceMap": true,
+    "declaration": false,
+    "moduleResolution": "node",
     "emitDecoratorMetadata": true,
     "experimentalDecorators": true,
-    "noImplicitAny": false,
-    "noEmitHelpers": true
-  },
-  "awesomeTypescriptLoaderOptions": {
-    "forkChecker": true
+    "target": "es5",
+    "typeRoots": [
+      "node_modules/@types"
+    ],
+    "lib": [
+      "es2017",
+      "es2016",
+      "es2015",
+      "dom"
+    ],
+    "types": [
+      "jasmine"
+    ],
+    "baseUrl": "src",
+    "paths": {
+      "@app/*": [ "app/*" ],
+      "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ],
+      "fs": [ "./shims/noop" ],
+      "http": [ "./shims/http" ],
+      "https": [ "./shims/https" ],
+      "path": [ "./shims/path" ],
+      "stream": [ "./shims/noop" ],
+      "crypto": [ "./shims/noop" ]
+    }
   },
-  "compileOnSave": false,
-  "buildOnSave": false,
-  "filesGlob": [
-    "**/*.ts",
-    "!node_modules/**"
-  ],
   "exclude": [
+    "../node_modules",
     "node_modules",
-    "typings/main",
-    "typings/main.d.ts"
+    "dist",
+    "../server",
+    "src/**/*.spec.ts"
   ]
 }