linkedin / css-blocks

High performance, maintainable stylesheets.
http://css-blocks.com/
BSD 2-Clause "Simplified" License
6.34k stars 152 forks source link

Rollup.js Support #187

Open hronro opened 6 years ago

hronro commented 6 years ago

Hi guys, css-blocks is really awesome, and I would like to know is there any plan for supporting Rollup.js? I want to use it in Rollup.js but I found it's not supported yet.

chriseppstein commented 6 years ago

@foisonocean how do you want to use it with rollup? Can you please explain what issues you encountered and what was expected?

hronro commented 6 years ago

@chriseppstein I'm using Rollup to build a React SPA, currently I'm using rollup-plugin-postcss to handle all the style import in my code, and now I want to integrate css-block in my project. Could you give me some advice?

chriseppstein commented 6 years ago

@foisonocean I haven't investigated how rollup builds work. I suspect that it would require a new type of build integration. If you want to work on building an integration for rollup, we would be happy to support you by answering questions, doing code reviews, etc.