Internet-programming-Pibd-2.../vite.config.js

18 lines
595 B
JavaScript
Raw Normal View History

2023-12-01 11:17:36 +04:00
import { resolve } from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
page2: resolve(__dirname, 'page2.html'),
page3: resolve(__dirname, 'page3.html'),
page4: resolve(__dirname, 'page4.html'),
page5: resolve(__dirname, 'page5.html'),
2023-12-07 22:24:21 +04:00
admin: resolve(__dirname, 'admin.html'),
editpage: resolve(__dirname, 'editpage.html')
2023-12-01 11:17:36 +04:00
},
},
},
})