InternetProgramming/vite.config.js
2023-11-13 10:52:27 +04:00

20 lines
672 B
JavaScript

import { resolve } from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
search: resolve(__dirname, 'search.html'),
login: resolve(__dirname, 'login.html'),
chanel: resolve(__dirname, 'chanel.html'),
registration: resolve(__dirname, 'registr.html'),
video: resolve(__dirname, 'videowatch.html'),
admin: resolve(__dirname, 'adminchanel.html'),
red: resolve(__dirname, 'videored.html')
},
},
},
})