forked from noemica/cog-minder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.ts
29 lines (27 loc) · 1.08 KB
/
vite.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import react from "@vitejs/plugin-react";
import path from "path";
import { defineConfig } from "vite";
declare const __dirname: string;
export default defineConfig({
root: "src",
base: "/cog-minder/",
build: {
outDir: path.resolve(__dirname, "dist"),
rollupOptions: {
input: {
index: path.resolve(__dirname, "src/index.html"),
about: path.resolve(__dirname, "src/about.html"),
bots: path.resolve(__dirname, "src/bots.html"),
build: path.resolve(__dirname, "src/build.html"),
combat: path.resolve(__dirname, "src/combat.html"),
hacks: path.resolve(__dirname, "src/hacks.html"),
lore: path.resolve(__dirname, "src/lore.html"),
parts: path.resolve(__dirname, "src/parts.html"),
rif: path.resolve(__dirname, "src/rif.html"),
simulator: path.resolve(__dirname, "src/simulator.html"),
wiki: path.resolve(__dirname, "src/wiki.html"),
},
},
},
plugins: [react()],
});