Anidetrix / rollup-plugin-styles

🎨 Universal Rollup plugin for styles: PostCSS, Sass, Less, Stylus and more.
https://anidetrix.github.io/rollup-plugin-styles
MIT License
242 stars 43 forks source link

a way to embed already processed files into js file #174

Closed jd1378 closed 3 years ago

jd1378 commented 3 years ago

I'm using vite and im trying to build a single file from my project, but anything I have tried creates an external css file. I found your plugin for rollup and tried to use it , but it says [plugin:styles] Skipping processed file .... and it doesn't end up in my js file. I wanted to know if it's possible to force it to embed the css into js file using your plugin ?

jd1378 commented 3 years ago

apparantly using build.lib config of vite does the embedding, so this plugin was not needed.

RossComputerGuy commented 2 years ago

Is there a solution for non-vite setups?

jd1378 commented 2 years ago

i haven't do any search, but from what I remember the plugin didn't have such option. maybe search on your setup