aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/tsconfig.json
diff options
context:
space:
mode:
authorWilliam Lahti <wilahti@gmail.com>2018-06-28 06:53:04 -0700
committerChocobozzz <me@florianbigard.com>2018-06-28 15:53:04 +0200
commit3ea9a1c311c3e3c55fb95560d4dd99a77c52df4a (patch)
treed2c409d6c5f247cf0b1fc2d76bd1370fddd3fa3c /client/tsconfig.json
parent9e01e51099c2949036f29d01f7305dff4d2b8748 (diff)
downloadPeerTube-3ea9a1c311c3e3c55fb95560d4dd99a77c52df4a.tar.gz
PeerTube-3ea9a1c311c3e3c55fb95560d4dd99a77c52df4a.tar.zst
PeerTube-3ea9a1c311c3e3c55fb95560d4dd99a77c52df4a.zip
Replace angular-cli patch with something less risky (#742)
* Replace angular-cli patch with something less risky * path.join() is needed, provide a naive implementation * technically, webpack provided a polyfill for Buffer, we should too * process polyfill matches webpack; peertube depends on nextTick * polyfill for path to match webpack * http/https polyfills as per webpack
Diffstat (limited to 'client/tsconfig.json')
-rw-r--r--client/tsconfig.json8
1 files changed, 7 insertions, 1 deletions
diff --git a/client/tsconfig.json b/client/tsconfig.json
index cb6d39245..60c343867 100644
--- a/client/tsconfig.json
+++ b/client/tsconfig.json
@@ -20,7 +20,13 @@
20 "baseUrl": "src", 20 "baseUrl": "src",
21 "paths": { 21 "paths": {
22 "@app/*": [ "app/*" ], 22 "@app/*": [ "app/*" ],
23 "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ] 23 "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ],
24 "fs": [ "./shims/noop" ],
25 "http": [ "./shims/http" ],
26 "https": [ "./shims/https" ],
27 "path": [ "./shims/path" ],
28 "stream": [ "./shims/noop" ],
29 "crypto": [ "./shims/noop" ]
24 } 30 }
25 } 31 }
26} 32}