3ea9a1c311
* 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
32 lines
748 B
JSON
32 lines
748 B
JSON
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"outDir": "./dist/out-tsc",
|
|
"sourceMap": true,
|
|
"declaration": false,
|
|
"moduleResolution": "node",
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"target": "es5",
|
|
"typeRoots": [
|
|
"node_modules/@types"
|
|
],
|
|
"lib": [
|
|
"es2017",
|
|
"es2016",
|
|
"es2015",
|
|
"dom"
|
|
],
|
|
"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" ]
|
|
}
|
|
}
|
|
}
|