Int_Prog/лаб2/lab2/vite.config.js

18 lines
600 B
JavaScript
Raw Permalink Normal View History

2024-01-18 23:29:33 +04:00
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'),
},
},
},
})