Skip to content

Commit

Permalink
chore: update vite.config.js to specify input files for rollupOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
eanorambuena committed Jan 6, 2024
1 parent 9689ee4 commit 9623216
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
export default {
base: '/'
}
import { resolve } from 'path'
import { defineConfig } from 'vite'

export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
login: resolve(__dirname, 'login.html'),
signup: resolve(__dirname, 'signup.html')
}
}
}
})

0 comments on commit 9623216

Please sign in to comment.