Closed as not planned
Description
Describe the bug
Module level directives cause errors when bundled, "use client" in "node_modules/@tanstack/react-query/build/lib/useSyncExternalStore.mjs" was ignored.
Your minimal, reproducible example
I don't have time
Steps to reproduce
Use query v4.28.0 with vite. I wonder does it affect the build or not.
Expected behavior
I will not see the warning
How often does this bug happen?
Every time
Screenshots or Videos
Platform
Windows: 11
Tanstack Query adapter
react-query
TanStack Query version
v4.28.0
TypeScript version
v5
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels