Skip to content

Commit

Permalink
update vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
nasdan committed Sep 10, 2024
1 parent 2145896 commit 5798ca0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ const vitestConfig: VitestUserConfigInterface = {
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
rollupOptions: {
input: {
main: './index.html',
editor: './editor.html',
},
},
},
test: {
globals: true,
environment: 'jsdom',
Expand Down

0 comments on commit 5798ca0

Please sign in to comment.