Internet_Programming_PIbd-2.../laba3/site/vite.config.js
2023-11-10 09:18:55 +04:00

18 lines
628 B
JavaScript

import { resolve } from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
createTest: resolve(__dirname, 'createTest.html'),
login: resolve(__dirname, 'login.html'),
profile: resolve(__dirname, 'profile.html'),
signIn: resolve(__dirname, 'signIn.html'),
testInProcess: resolve(__dirname, 'testInProcess.html'),
testPage: resolve(__dirname, 'testPage.html'),
},
},
},
})