Two problems currently:
- Prebundling can't find the dependencies (react, react/jsx-runtime, react/jsx-dev-runtime) as it's currently hardcoded in Vite to use the node resolver. We can "work around this" by removing them from
config.optimizeDeps.include during configResolved step
- After doing that there is... still problems. Same issue basically.
2:28:45 pm [vite] Internal server error: Failed to resolve import "react/jsx-dev-runtime" from "react/jsx-dev-runtime". Does the file exist?
🤔
Initial way forward: Don't use it.
Next way forward: Fork?
Future way forward: Contribute to the plugin to make it work with Deno?
Two problems currently:
config.optimizeDeps.includeduringconfigResolvedstep🤔
Initial way forward: Don't use it.
Next way forward: Fork?
Future way forward: Contribute to the plugin to make it work with Deno?