Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Hey @Mood-al, could you please share why this PR can't be merged ? |
|
Hey @Pegase745 ,I appreciate your work but I didnt see any reason to change the package.json with your merge since no one had any issue with it. |
The fact that no one has reported this issue yet doesn't mean it's not a real problem that needs fixing. The error occurs in a specific but valid use case - when importing the CSS through Here's a screenshot of how I am importing this library compared to others in a reusable components library for a design system. |

Thanks for the nice library 👋
When importing the styles from a CSS file like so
@import 'react-tabs-scrollable/dist/rts.css';, webpack failed because of how the exports were made in the package.json.In this PR you can find the tested fix for this error. Thanks in advance.
EDIT: Importing
import 'react-tabs-scrollable/dist/rts.css';in a TSX file, will still work.