add webpack-polyfill-thing

This commit is contained in:
Felix Dörre 2021-11-30 04:07:55 +01:00
parent dce2c86fc2
commit 4fbbee06f4
3 changed files with 749 additions and 10 deletions

View File

@ -1,12 +1,12 @@
declare global { declare global {
interface Window { interface Window {
waconfig: { waconfig: {
START_ROOM_URL: string, START_ROOM_URL: string,
PUSHER_URL: string, PUSHER_URL: string,
STUN_SERVER: string, STUN_SERVER: string,
TURN_SERVER: string, TURN_SERVER: string,
JITSI_URL: string JITSI_URL: string
}; };
} }
} }

View File

@ -11,9 +11,9 @@
"proto:watch": "yarn run proto-all; inotifywait -q -m -e close_write protos/messages.proto | while read -r filename event; do yarn run proto-all; done" "proto:watch": "yarn run proto-all; inotifywait -q -m -e close_write protos/messages.proto | while read -r filename event; do yarn run proto-all; done"
}, },
"dependencies": { "dependencies": {
"console-browserify": "^1.2.0",
"google-protobuf": "^3.13.0", "google-protobuf": "^3.13.0",
"grpc": "^1.24.4" "grpc": "^1.24.4",
"node-polyfill-webpack-plugin": "^1.1.4"
}, },
"devDependencies": { "devDependencies": {
"@types/google-protobuf": "^3.7.4", "@types/google-protobuf": "^3.7.4",

File diff suppressed because it is too large Load Diff