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
{{ message }}
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.
then it fails to import because CRA configured for absolute paths root to be src/ so I get following error:
Module not found: Can't resolve '~react-table/react-table.css' in '/Users/rusinov/projects/nodus/cra-global-styles-bug/src/components/App'
Styles imported as CSS modules - When I fix import by removing "~" char from import path I get styles loaded on page but they are transformed as CSS modules.
Is this bug?
Yes
Reproduce bug
Repository with bug example: https://github.com/RusinovAnton/cra-global-styles-bug-example
Problem Description
I've just tried to use react-table and import styles for it the way it described in README
There are two problems with it:
then it fails to import because CRA configured for absolute paths root to be
src/
so I get following error:Expected behavior
Third party styles are not transformed as CSS modules when imported within
:global
directiveThe text was updated successfully, but these errors were encountered: