blob: 555777e59127e44393275f85cff6a0295c60eced (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { defineConfig } from "vite";
import { ghPages } from "vite-plugin-gh-pages";
import gleam from "vite-gleam";
export default defineConfig(({ command }) => ({
base: command === "build" ? "/gleam-lustre/" : "/",
plugins: [
gleam(),
ghPages({
branch: "docs",
message: "🚀 Deploy to gh-pages.",
}),
],
}));
|