-
What do you do with your stylesheets? When you bundle your library code (and keep file structure), Do you create one big 'bundle.css' (the 'simpler' way in most bundlers) ? Or is it better to keep each css next to its consumer js file? (i.e. If the end user consumes only 'button' from my library, it makes no scence for them to include my entire bundle.css ...) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Great question! I'll have to do some research on this one; if you also happen to find sources please post them here as well. 👍 |
Beta Was this translation helpful? Give feedback.
-
https://github.com/frehner/modern-guide-to-packaging-js-library#split-out-your-css-files |
Beta Was this translation helpful? Give feedback.
https://github.com/frehner/modern-guide-to-packaging-js-library#split-out-your-css-files