mirror of
https://github.com/seigler/aurebesh
synced 2025-07-25 08:46:12 +00:00
18 lines
378 B
TypeScript
18 lines
378 B
TypeScript
import { UserConfig, defineConfig } from "vite";
|
|
import preact from "@preact/preset-vite";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig(({ command }) => {
|
|
const config: UserConfig = {
|
|
plugins: [
|
|
preact({
|
|
prerender: {
|
|
enabled: true,
|
|
renderTarget: "#app",
|
|
},
|
|
}),
|
|
],
|
|
base: "./",
|
|
};
|
|
return config;
|
|
});
|