forked from forks/ffprobe-wasm-npm
fix: make vite 7 compliant
Signed-off-by: Alix von Schirp <github@avonschirp.bootmedia.de>
This commit is contained in:
@@ -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"
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user