Int_Prog/лаб2/lab2/vite.config.js
2024-01-19 01:24:45 +04:00

18 lines
600 B
JavaScript

import { resolve } from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
about: resolve(__dirname, 'about.html'),
admin: resolve(__dirname, 'admin.html'),
cart: resolve(__dirname, 'cart.html'),
item: resolve(__dirname, 'item.html'),
login: resolve(__dirname, 'login.html'),
registration: resolve(__dirname, 'registration.html'),
},
},
},
})