mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
15 lines
297 B
JavaScript
15 lines
297 B
JavaScript
|
import { resolve } from 'node:path'
|
||
|
import { defineConfig } from 'vite'
|
||
|
|
||
|
export default defineConfig({
|
||
|
build: {
|
||
|
cssCodeSplit: false,
|
||
|
rollupOptions: {
|
||
|
input: {
|
||
|
index: resolve(__dirname, './index.html'),
|
||
|
sub: resolve(__dirname, './sub.html'),
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
})
|