[🐞] optimizer generating wrong paths when moving components to new files #5367
Labels
COMP: optimizer
TYPE: bug
Something isn't working
WAITING FOR: team
Waiting for one of the core team members to review and reply
Which component is affected?
Qwik Optimizer (rust)
Describe the bug
See qwikifiers/qwik-ui#453, wmertens/styled-vanilla-extract#23 and #5233
The optimizer creates a new file with components, and any imports are sometimes adjusted, but the adjusting doesn't seem to happen correctly.
Reproduction
see the mentioned issues
Steps to reproduce
import qwik components from a library, make sure these components import relative dependencies as well (in pnpm this includes deps that are only visible to that library).
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: