ui overhaul
All checks were successful
Build and deploy Havenllo / Verify Go and frontend (push) Successful in 32s
Build and deploy Havenllo / Build and push image (push) Successful in 32s
Build and deploy Havenllo / Apply and restart Havenllo (push) Successful in 6s

This commit is contained in:
Hermes
2026-07-14 11:24:43 -03:00
parent afd23ca751
commit 4797bbdef8
5 changed files with 33 additions and 4 deletions

View File

@@ -1,11 +1,21 @@
import { writeFileSync } from "node:fs";
import { defineConfig } from "vite";
import preact from "@preact/preset-vite";
const embedPlaceholder = new URL("./dist/.gitkeep", import.meta.url);
export default defineConfig({
plugins: [preact()],
plugins: [
preact(),
{
name: "preserve-go-embed-placeholder",
closeBundle() {
writeFileSync(embedPlaceholder, "");
}
}
],
build: {
outDir: "dist",
emptyOutDir: true
}
});