You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried in mkdist mode but directives are still being ignored with this message :
src/HOC/wrapper.tsx (1:0): Module level directives cause errors when bundled, "use client" in "src/HOC/wrapper.tsx" was ignored.
src/lib/Base.jsx (1:0): Module level directives cause errors when bundled, "use client" in "src/lib/Base.jsx" was ignored.
Describe the feature
I'm building a react library and want to keep "use client" directive during build, but I can't find that option anywhere.
Additional information
The text was updated successfully, but these errors were encountered: