Some minor compiler fixes and disabled the webpack entry chunk size limit warning since we're loading the entry chunk so or so async with our loader
This commit is contained in:
parent
f4f213a3f1
commit
9189fc20a6
5 changed files with 6 additions and 7 deletions
|
@ -40,6 +40,7 @@ import "./proto";
|
|||
import "./ui/elements/ContextDivider";
|
||||
import "./ui/elements/Tab";
|
||||
import "./connection/CommandHandler";
|
||||
import "./connection/ConnectionBase";
|
||||
import {ConnectRequestData} from "tc-shared/ipc/ConnectHandler";
|
||||
import "./video-viewer/Controller";
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
import {createModal, Modal} from "tc-shared/ui/elements/Modal";
|
||||
import {ClientEntry} from "tc-shared/ui/client";
|
||||
import {voice} from "tc-shared/connection/ConnectionBase";
|
||||
import LatencySettings = voice.LatencySettings;
|
||||
import {Slider, sliderfy} from "tc-shared/ui/elements/Slider";
|
||||
import * as htmltags from "tc-shared/ui/htmltags";
|
||||
import {LatencySettings} from "tc-shared/connection/VoiceConnection";
|
||||
|
||||
let modal: Modal;
|
||||
export function spawnChangeLatency(client: ClientEntry, current: LatencySettings, reset: () => LatencySettings, apply: (settings: LatencySettings) => any, callback_flush?: () => any) {
|
||||
|
|
|
@ -298,7 +298,7 @@ export class RecorderProfile {
|
|||
set_device(device: IDevice | undefined) : Promise<void> {
|
||||
this.config.device_id = device ? device.deviceId : IDevice.NoDeviceId;
|
||||
this.save();
|
||||
return this.input?.setDevice(device) || Promise.resolve();
|
||||
return this.input?.setDeviceId(this.config.device_id) || Promise.resolve();
|
||||
}
|
||||
|
||||
get_volume() : number { return this.input ? (this.input.getVolume() * 100) : this.config.volume; }
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
import * as sconnection from "./connection/ServerConnection";
|
||||
|
||||
export const spawn_server_connection = sconnection.spawn_server_connection;
|
||||
export const destroy_server_connection = sconnection.destroy_server_connection;
|
|
@ -244,6 +244,9 @@ export const config = async (target: "web" | "client"): Promise<Configuration> =
|
|||
path: path.resolve(__dirname, 'dist'),
|
||||
publicPath: "js/"
|
||||
},
|
||||
performance: {
|
||||
hints: false
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
chunks: "all"
|
||||
|
|
Loading…
Add table
Reference in a new issue