Web-programming_Anisin_R.S..../vite.config.js
2024-01-10 20:41:47 +04:00

18 lines
618 B
JavaScript

import { resolve } from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
shirts: resolve(__dirname, 'shirts.html'),
admin: resolve(__dirname, 'admin.html'),
cart: resolve(__dirname, 'cart.html'),
login: resolve(__dirname, 'login.html'),
'about-us': resolve(__dirname, 'about-us.html'),
'physical-store': resolve(__dirname, 'physical-store.html'),
},
},
},
})