Our custom component wraps a third party Carousel. We'd like to incorporate the third party css into the module but need to mark it as global.
I have used the following in the .scss file
:global {
@import 'node_modules/swiper/swiper.scss';
@import 'node_modules/swiper/modules/pagination/pagination.scss';
}
this is the correct syntax, but it errors with "Missing whitespace before :global "
Any thoughts on how to fix this?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too