How to use package css in react

this is not loading on front end. i am using react-carousel-slider and i am not able to use css in that import ‘react-responsive-carousel/lib/styles/carousel.min.css’; using importing

how to use webpack config file in that to configure style loader and css loader. both are require.

Have you tried using the declare module?

declare module 'react-responsive-carousel/lib/styles/carousel.min.css'

Unfortunately, the VTEX IO platform does not allow configuring webpack (as far as I know).

If you’ve tried importing the file into React and encountered difficulties, the best approach in this situation would be to manually copy these files and place them in a .global.css file.

At the beginning of your React component, you can then import it like so:

import './'