Preallocate download streams (#229)

* feat: pre-allocate streams for high-latency downloads

* fix: update drop-base

* fix: remove debug latency

* fix: lint
This commit is contained in:
DecDuck
2025-08-31 14:50:56 +10:00
committed by GitHub
parent aa1de921ee
commit a520d52ad3
4 changed files with 30 additions and 19 deletions

View File

@ -74,7 +74,8 @@ export default defineNuxtConfig({
vite: {
plugins: [
tailwindcss(),
// eslint-disable-next-line @typescript-eslint/no-explicit-any
tailwindcss() as any,
// only used in dev server, not build because nitro sucks
// see build hook below
viteStaticCopy({
@ -84,7 +85,8 @@ export default defineNuxtConfig({
dest: "twemoji",
},
],
}),
// eslint-disable-next-line @typescript-eslint/no-explicit-any
}) as any,
],
},