Skip to content

Commit 5798ca0

Browse files
committed
update vite config
1 parent 2145896 commit 5798ca0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

vite.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ const vitestConfig: VitestUserConfigInterface = {
1515
// https://vitejs.dev/config/
1616
export default defineConfig({
1717
plugins: [react()],
18+
build: {
19+
rollupOptions: {
20+
input: {
21+
main: './index.html',
22+
editor: './editor.html',
23+
},
24+
},
25+
},
1826
test: {
1927
globals: true,
2028
environment: 'jsdom',

0 commit comments

Comments
 (0)