react-simple-pull-to-refresh icon indicating copy to clipboard operation
react-simple-pull-to-refresh copied to clipboard

Allow to load css from the project it self

Open felixmosh opened this issue 5 years ago • 1 comments

First of all thank you for this awesome lib! 🙏🏼

Currently, the css is bundled with js, and injected at runtime with some magic injectStyles function.

In my project I want to process all the css with my custom loaders (postcss rtl, autoprefixer, etc), is it possible to allow importing the styles as a separate import, similar to what react-toastify allows (it's just adds the css file to the build folder)

felixmosh avatar Jan 26 '21 11:01 felixmosh

Hi @felixmosh thank you!

That sounds like a good idea!

I'll give it a look when I have a bit of time, unless you would like to submit a PR?

thmsgbrt avatar Jan 26 '21 12:01 thmsgbrt