15 lines
331 B
TypeScript
15 lines
331 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { resolve } from 'path'
|
|
import solid from 'vite-plugin-solid'
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, 'index.html'),
|
|
hacked: resolve(__dirname, 'hacked/index.html')
|
|
}
|
|
}
|
|
},
|
|
plugins: [solid()],
|
|
})
|