Skip to content

Commit

Permalink
fix: tell Vite what to pre-bundle also for `vite-plugin-ssr/client/ro…
Browse files Browse the repository at this point in the history
…uter` (#156)
  • Loading branch information
brillout committed Oct 5, 2021
1 parent bdf1c18 commit 64f7444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite-plugin-ssr/node/plugin/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function dev(): Plugin {
ssr: { external: ['vite-plugin-ssr'] },
optimizeDeps: {
entries: ['**/*.page.*([a-zA-Z0-9])', '**/*.page.client.*([a-zA-Z0-9])'],
exclude: ['vite-plugin-ssr/client'],
exclude: ['vite-plugin-ssr/client', 'vite-plugin-ssr/client/router'],
include: ['@brillout/libassert']
}
})
Expand Down

0 comments on commit 64f7444

Please sign in to comment.