mirror of
https://github.com/seigler/aurebesh
synced 2025-07-26 09:16:11 +00:00
add workflow
This commit is contained in:
parent
26b3e5f2ad
commit
bbcbe8e843
5 changed files with 124 additions and 58 deletions
|
@ -1,14 +1,18 @@
|
|||
import { defineConfig } from 'vite';
|
||||
import preact from '@preact/preset-vite';
|
||||
import { UserConfig, defineConfig } from "vite";
|
||||
import preact from "@preact/preset-vite";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
preact({
|
||||
prerender: {
|
||||
enabled: true,
|
||||
renderTarget: '#app',
|
||||
},
|
||||
}),
|
||||
],
|
||||
export default defineConfig(({ command }) => {
|
||||
const config: UserConfig = {
|
||||
plugins: [
|
||||
preact({
|
||||
prerender: {
|
||||
enabled: true,
|
||||
renderTarget: "#app",
|
||||
},
|
||||
}),
|
||||
],
|
||||
base: "./",
|
||||
};
|
||||
return config;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue