Skip to content

Commit

Permalink
feat: add additional entry points
Browse files Browse the repository at this point in the history
  • Loading branch information
dfritschy committed Jun 8, 2021
1 parent 091fdbc commit e63518c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
// vite.config.js

const { resolve } = require('path')

export default {
root: "./src",
build: {
outDir: "../dist",
rollupOptions: {
input: {
de_index: resolve(__dirname, 'src/index.html'),
de_contact: resolve(__dirname, 'src/contact.html'),
de_data: resolve(__dirname, 'src/privacy.html'),
en: resolve(__dirname, 'src/en/index.html')
}
}
},
}

0 comments on commit e63518c

Please sign in to comment.