mirror of
https://github.com/vector-im/element-call.git
synced 2026-01-18 02:32:27 +00:00
fix CI failing with Invalid value "iife" for option "worker.format"
UMD and IIFE output formats are not supported for code-splitting builds. see https://github.com/vitejs/vite/issues/18585
This commit is contained in:
@@ -97,6 +97,9 @@ export default ({
|
||||
cert: fs.readFileSync("./backend/dev_tls_m.localhost.crt"),
|
||||
},
|
||||
},
|
||||
worker: {
|
||||
format: "es",
|
||||
},
|
||||
build: {
|
||||
minify: mode === "production" ? true : false,
|
||||
sourcemap: true,
|
||||
|
||||
Reference in New Issue
Block a user