refactor: fix worker-relay for external users

This commit is contained in:
2024-03-04 12:22:48 +00:00
parent a0aa86a0b3
commit 226618ac77
26 changed files with 362 additions and 68 deletions

View File

@ -62,11 +62,12 @@ export default defineConfig({
CONFIG: JSON.stringify(appConfig),
global: {}, // needed for custom-event lib
},
test: {
globals: true,
environment: "jsdom",
},
worker: {
format: "es",
rollupOptions: {
output: {
format: "module"
}
}
},
});