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 have searched the Issues to see if this bug has already been reported
I have tested the latest version
Summary
Using yarn4 with plug n play is not working using the tailwind content() function since it returns always a node_modules folder.
Context
original function in tailwind.cjs
functioncontent({ base ="./"}={}){constpath="node_modules/flowbite-react/dist/esm/**/*.mjs";return`${base}${path}`;}
suggestion:
do something like this, it's untested, but works for me, if I do it in tailwind.config.js.
returnrequire.resolve('flowbite-react').replace('index.cjs','**/*.{mjs,cjs}',base);// maybe use more sophisticated regex to get the actual base path of the module here.
The text was updated successfully, but these errors were encountered:
Summary
Using yarn4 with plug n play is not working using the tailwind content() function since it returns always a node_modules folder.
Context
original function in tailwind.cjs
suggestion:
do something like this, it's untested, but works for me, if I do it in tailwind.config.js.
The text was updated successfully, but these errors were encountered: