PIbd-21_Danilov_V.V._Intern.../Lab3/vite.config.js

21 lines
714 B
JavaScript
Raw Normal View History

2023-12-19 20:23:11 +04:00
import { resolve } from 'path';
import { defineConfig } from 'vite';
export default defineConfig({
build: {
sourcemap: true,
emptyOutDir: true,
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
page2: resolve(__dirname, 'Catalog.html'),
page3: resolve(__dirname, 'Product.html'),
page4: resolve(__dirname, 'Profile.html'),
page5: resolve(__dirname, 'Registration.html'),
page6: resolve(__dirname, 'Login.html'),
page7: resolve(__dirname, 'Admin.html'),
page8: resolve(__dirname, 'Edit.html'),
},
},
},
});