Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed May 17, 2023
1 parent b76366c commit 7fee07c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/vike-react-simple/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import ssr from 'vite-plugin-ssr/plugin'

export default {
plugins: [react(), ssr()],
// TODO: why is this needed?
// TODO: remove need for this
optimizeDeps: { include: ['vike-react-simple/onRenderClient'] }
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
export { getConfigData }

// TODO
// - refactor virtual module HMR invalidation
// - gracefullly handle errors in getConfigData()
// - Remove markAsUserLandError()?
// - Remove need for `optimizeDeps: { include: ['vike-react-simple/onRenderClient'] }` in /examples/vike-react-simple/

import {
assertPosixPath,
assert,
Expand Down

0 comments on commit 7fee07c

Please sign in to comment.