mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Ditch webpack-dev-middleware
This commit is contained in:
@@ -627,10 +627,6 @@ const tavernUrl = new URL(
|
||||
(':' + server_port),
|
||||
);
|
||||
|
||||
function prepareFrontendBundle() {
|
||||
return new Promise((resolve) => webpackMiddleware.waitUntilValid(resolve));
|
||||
}
|
||||
|
||||
/**
|
||||
* Tasks that need to be run before the server starts listening.
|
||||
*/
|
||||
@@ -682,7 +678,7 @@ const preSetupTasks = async function () {
|
||||
initRequestProxy({ enabled: proxyEnabled, url: proxyUrl, bypass: proxyBypass });
|
||||
|
||||
// Wait for frontend libs to compile
|
||||
await prepareFrontendBundle();
|
||||
await webpackMiddleware.runWebpackCompiler();
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user