Skip to content

Commit

Permalink
🔥 rem unused optimize deps import
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-unterberg committed Jan 9, 2024
1 parent e765de4 commit 2609c88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions renderer/+config.h.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import type { Config } from 'vike/types'

// https://vike.dev/config
export default {
/* To enable Client-side Routing:
clientRouting: true,
// !! WARNING !! Before doing so, read https://vike.dev/clientRouting */

// See https://vike.dev/data-fetching
passToClient: ['documentProps', 'pageProps'],
clientRouting: true,
hydrationCanBeAborted: true,
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineConfig({
}) as PluginOption),
],
optimizeDeps: {
include: ['react/jsx-runtime', './renderer/onRenderClient'],
include: ['react/jsx-runtime'],
},
server: {
port: 5247,
Expand Down

0 comments on commit 2609c88

Please sign in to comment.