Fix module file loading on Windows

This was causing output files to have the extension .es, which was
breaking loading in Windows (loading off the filesystem gave mime type
text/plain, which is forbidden by the renderer for script type=module)
This commit is contained in:
Max Goodhart
2025-02-22 17:40:48 -08:00
parent a979cb926a
commit ec6b7bd360

View File

@@ -13,9 +13,6 @@ export default defineConfig({
playHLS: resolve(__dirname, 'src/renderer/playHLS.html'),
control: resolve(__dirname, 'src/renderer/control.html'),
},
output: {
entryFileNames: '[name].[format]',
},
},
},