update vite + astro

This commit is contained in:
Felix Roos 2023-12-30 23:08:15 +01:00
parent cf20f1059f
commit 6f68bdcf5b
25 changed files with 1732 additions and 1738 deletions

View file

@ -25,7 +25,8 @@ export async function initHydra(options = {}) {
feedStrudel = false,
...hydraConfig
} = { detectAudio: false, ...options };
await import(src);
await import(/* @vite-ignore */ src);
const hydra = new Hydra(hydraConfig);
if (feedStrudel) {
const { canvas } = getDrawContext();

View file

@ -38,6 +38,6 @@
},
"devDependencies": {
"pkg": "^5.8.1",
"vite": "^4.3.3"
"vite": "^5.0.10"
}
}