fix: server runtime

This commit is contained in:
cha0s 2024-02-15 04:52:42 -06:00
parent 6a5de499df
commit 31fd7b46a4

View File

@ -48,8 +48,8 @@ async function runtimeModule(compilation, flecks) {
' module.hot.invalidate();', ' module.hot.invalidate();',
' }', ' }',
' });', ' });',
` return ['${path}', M];`,
' }', ' }',
` return ['${path}', M];`,
' }', ' }',
' catch (error) {', ' catch (error) {',
' if (!error.message.startsWith("Cannot find module")) {', ' if (!error.message.startsWith("Cannot find module")) {',