Skip to content

Commit

Permalink
IIFE
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Sep 23, 2024
1 parent 454f0db commit f2d53cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/vite.build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ async function buildPackages() {
[chunk]: source,
},
output: {
format: 'iife',

entryFileNames: chunk => {
return `${chunk.name}.js`;
},
Expand Down

0 comments on commit f2d53cd

Please sign in to comment.