Skip to content

Commit 0108ce4

Browse files
authored
chore: bundle 404 to dist (#8)
1 parent 7993bc7 commit 0108ce4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

vite.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,12 @@ import tailwindcss from '@tailwindcss/vite'
55
// https://vite.dev/config/
66
export default defineConfig({
77
plugins: [react(), tailwindcss()],
8+
build: {
9+
rollupOptions: {
10+
input: {
11+
main: './index.html',
12+
404: './404.html'
13+
}
14+
}
15+
}
816
})

0 commit comments

Comments
 (0)