-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.ts
More file actions
24 lines (23 loc) · 837 Bytes
/
Copy pathvite.config.ts
File metadata and controls
24 lines (23 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { defineConfig } from 'vite'
import tailwindcss from '@tailwindcss/vite'
import { resolve } from 'node:path'
export default defineConfig({
plugins: [tailwindcss()],
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
bytecount: resolve(__dirname, 'bytecount.html'),
charcount: resolve(__dirname, 'charcount.html'),
asciify: resolve(__dirname, 'asciify.html'),
upsideDown: resolve(__dirname, 'upside-down.html'),
urlencode: resolve(__dirname, 'urlencode.html'),
strings: resolve(__dirname, 'strings.html'),
haikunator: resolve(__dirname, 'haikunator.html'),
hash: resolve(__dirname, 'hash.html'),
chardet: resolve(__dirname, 'chardet.html'),
uuid: resolve(__dirname, 'uuid.html'),
},
},
},
})