-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.ts
More file actions
28 lines (27 loc) · 1.1 KB
/
vite.config.ts
File metadata and controls
28 lines (27 loc) · 1.1 KB
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
import { resolve } from "path";
import { defineConfig } from "vite";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [tailwindcss()],
base: "https://convertedge.github.io/test-forms/",
build: {
rollupOptions: {
input: {
// key = final output path, value = source html file
main: resolve(__dirname, "index.html"),
complex: resolve(__dirname, "complex.html"),
complex2: resolve(__dirname, "complex2.html"),
complex3: resolve(__dirname, "complex3.html"),
"email-text": resolve(__dirname, "email-text.html"),
"no-form": resolve(__dirname, "no-form.html"),
"one-email": resolve(__dirname, "one-email.html"),
"one-phone": resolve(__dirname, "one-phone.html"),
"phone-and-email": resolve(__dirname, "phone-and-email.html"),
"phone-phone": resolve(__dirname, "phone-phone.html"),
"phone-text": resolve(__dirname, "phone-text.html"),
"shortify-test": resolve(__dirname, "shortify-test.html"),
"two-email": resolve(__dirname, "two-email.html"),
},
},
},
});