chore: Use dynamic import for manifest with Vite ignore. Fixes warning

This commit is contained in:
Jonas Perusquia Morales
2026-03-28 03:02:08 -06:00
parent 9628720f87
commit e437ce7120
+2 -1
View File
@@ -210,8 +210,9 @@ export class AdminController extends Controller {
},
}).then((res) => res.json());
} else {
const manifestPath = "bknd/dist/manifest.json";
// @ts-ignore
manifest = await import("bknd/dist/manifest.json", {
manifest = await import(/* @vite-ignore */ manifestPath, {
with: { type: "json" },
}).then((res) => res.default);
}