Skip to content

Commit

Permalink
build: update vite config of different versions to set index-cv.html …
Browse files Browse the repository at this point in the history
…as rollup input
  • Loading branch information
aryanndwi123 committed Jul 30, 2024
1 parent 15dfd4c commit 2697be1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vite.config.v0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ export default defineConfig({
outDir: `../public/simulatorvue/v0/`,
assetsDir: 'assets',
chunkSizeWarningLimit: 1600,
rollupOptions: {
input: {
main: fileURLToPath(new URL('index-cv.html', import.meta.url))
}
}

},
server: {
port: 4000,
Expand Down
6 changes: 6 additions & 0 deletions vite.config.v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ export default defineConfig({
outDir: `../public/simulatorvue/v1/`,
assetsDir: 'assets',
chunkSizeWarningLimit: 1600,
rollupOptions: {
input: {
main: fileURLToPath(new URL('index-cv.html', import.meta.url))
}
}

},
server: {
port: 4000,
Expand Down

0 comments on commit 2697be1

Please sign in to comment.