InternetProgramming/Lab2/vite.config.js

18 lines
612 B
JavaScript
Raw Normal View History

2023-11-15 22:33:34 +04:00
import { resolve } from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
page2: resolve(__dirname, 'basket.html'),
page3: resolve(__dirname, 'library.html'),
page4: resolve(__dirname, 'entry.html'),
page5: resolve(__dirname, 'create_account.html'),
page6: resolve(__dirname, 'dark_nights_page.html'),
page7: resolve(__dirname, 'admin.html')
},
},
},
})