forked from qiwen98/DSteganoM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.js
35 lines (32 loc) · 1.36 KB
/
vite.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { resolve } from 'path'
import { defineConfig } from 'vite'
const root = resolve(__dirname, 'src')
const outDir= resolve(__dirname, 'dist')
export default defineConfig({
root,
base: '/DSteganoM/',
build: {
outDir,
emptyOutDir:true,
rollupOptions: {
input: {
main: resolve(root, 'index.html'),
page1: resolve(root, 'oursCMUGatedCover', 'index.html'),
page2: resolve(root, 'oursCMUGatedSecret', 'index.html'),
page3: resolve(root, 'oursCMUGatedCorrupted', 'index.html'),
page4: resolve(root, 'skipCMUGatedCover', 'index.html'),
page5: resolve(root, 'skipCMUGatedSecret', 'index.html'),
page6: resolve(root, 'skipCMUGatedCorrupted', 'index.html'),
page7: resolve(root, 'oursMTMGatedCover', 'index.html'),
page8: resolve(root, 'oursMTMGatedSecret', 'index.html'),
page9: resolve(root, 'oursMTMGatedCorrupted', 'index.html'),
page10: resolve(root, 'skipMTMGatedCover', 'index.html'),
page11: resolve(root, 'skipMTMGatedSecret', 'index.html'),
page12: resolve(root, 'skipMTMGatedCorrupted', 'index.html'),
page13: resolve(root, 'oursMixGatedCover', 'index.html'),
page14: resolve(root, 'oursMixGatedSecret', 'index.html'),
page15: resolve(root, 'oursMixGatedCorrupted', 'index.html'),
}
}
}
})