Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SSR] .web.tsx extensions do not appear to take precedence over .tsx on web when importing from another package in monorepo #309

Open
kzlar opened this issue Dec 16, 2024 · 1 comment

Comments

@kzlar
Copy link

kzlar commented Dec 16, 2024

I have a takeout-like monorepo setup where I added apps/one to slowly migrate to one. That means most of my cross platform code lives under packages/app.
I have quite a lot of legacy code with .web.tsx extensions, and it seems like during SSR, one does not take those files, and instead take the fallback .tsx files.

@natew
Copy link
Collaborator

natew commented Jan 1, 2025

can you try including in deps config? or optimizeDeps.include array? ive struggled with this in Vite quite a bit, will have to set up a repro at some point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants