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

Prevent extraction and injection #137

Closed geotrev closed 3 years ago

geotrev commented 3 years ago

Hi there.

I have a use-case where I need to inject my styles into the final JS bundle. Is that possible? I don't see an option to do that from the docs, but maybe I missed it.

Thanks!

Anidetrix commented 3 years ago

Hi @geotrev,

I guess you figured it out considering you closed the issue, but just in case - this is the default behavior, as it is mentioned in the Usage section of the README, and also in the mode option description of the API Reference.