fix: make vite 7 compliant

Signed-off-by: Alix von Schirp <github@avonschirp.bootmedia.de>
This commit is contained in:
2026-02-19 20:38:55 +01:00
parent bc9e1670b2
commit 24a55c018f
3 changed files with 7 additions and 43 deletions

View File

@@ -21,18 +21,11 @@ export default defineConfig({
wasm(),
topLevelAwait()
],
// worker: {
// plugins: [
// // {
// // name: "append-source-url",
// // generateBundle(options, bundle) {
// // Object.entries(bundle).forEach(([file, output]) => {
// // if (output.type === "chunk") {
// // output.code += `\n//# sourceURL=${file}`;
// // }
// // });
// // },
// // },
// ],
// },
worker: {
plugins: () => [
wasm(),
topLevelAwait(),
],
format: "es"
},
});