Open cascornelissen opened 2 years ago
@cascornelissen You just saved me so much time. 🙏🏽
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.
Describe the bug I'm 99% sure this isn't really a bug in this project but wanted to create an issue here anyway to allow people running into a similar issue to find some additional information.
To Reproduce Steps to reproduce the behavior:
css-loader
orpostcss-loader
+postcss-modules
(they both depend onpostcss-modules-local-by-default
)react-datepicker-cssmodules.css
file in a Sass fileExpected behavior The compilation succeeds.
Actual behavior An error is thrown by
postcss-modules-local-by-default
, see stacktraceWorkaround Import
react-datepicker.css
instead and wrap it in a:global
yourself.Additional context
4.6.0
Feel free to close if there's no additional questions/information to be provided ✌🏼