diff --git a/frontend/vite.build.mjs b/frontend/vite.build.mjs index 573570ba..39ecd4aa 100644 --- a/frontend/vite.build.mjs +++ b/frontend/vite.build.mjs @@ -51,6 +51,8 @@ async function buildPackages() { [chunk]: source, }, output: { + format: 'iife', + entryFileNames: chunk => { return `${chunk.name}.js`; },