-
Notifications
You must be signed in to change notification settings - Fork 3
/
vite.config.js
24 lines (23 loc) · 1.05 KB
/
vite.config.js
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'
const path = require('path')
import elmPlugin from 'vite-plugin-elm'
export default defineConfig({
plugins: [elmPlugin()],
build: {
rollupOptions: {
input: {
index: path.resolve(__dirname, 'index.html'),
glossary: path.resolve(__dirname, 'glossary.html'),
empty: path.resolve(__dirname, 'empty.html'),
"python-3.11.2-glossary": path.resolve(__dirname, 'examples/python-3.11.2-glossary.html'),
"uk-parliament": path.resolve(__dirname, 'examples/uk-parliament.html'),
"open-glossary-of-edge-computing": path.resolve(__dirname, 'examples/open-glossary-of-edge-computing.html'),
"canadas-weather-and-meterology-glossary.html": path.resolve(__dirname, 'examples/canadas-weather-and-meterology-glossary.html'),
"glossary-of-group-theory.html": path.resolve(__dirname, 'examples/glossary-of-group-theory.html'),
}
}
},
server: {
port: 3000
}
})