Adding a Shared folder:

* init some shared functions (videoHasWebchat, parseConfigUUIDs)
* api/room: checking that video has live enabled
* fix promise handling in initChat function
* removing some 'use strict' that are no more necessary in typescript
This commit is contained in:
John Livingston
2021-05-01 18:30:21 +02:00
parent 0cc57dfc12
commit ef05583fba
9 changed files with 145 additions and 24 deletions

View File

@ -22,6 +22,9 @@ let config = clientFiles.map(f => ({
]
},
resolve: {
alias: {
'shared': path.resolve(__dirname, 'shared/')
},
extensions: [ '.tsx', '.ts', '.js' ],
},
output: {