18 lines
600 B
JavaScript
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'),
|
|
},
|
|
},
|
|
},
|
|
}) |