react-component-library
react-component-library copied to clipboard
[QUESTION] rollup-plugin-postcss plugin issues on code splitting
Hi @HarveyD ,
Now I have to use both rollup-plugin-postcss and rollup-plugin-sass because of your guide in ReadMe because I need code splitting and a single bundle. What is your suggestion if I want just using one of these package rollup-plugin-postcss or rollup-plugin-sass?
I see in the ReadMe you told:
Please note, there's an issue with code splitting and using rollup-plugin-postcss. I recommend using rollup-plugin-sass instead alongside code splitting.
Can you explain what is this issue exactly? Maybe we can find a solution for that. :wink:
Maybe we can use https://github.com/Anidetrix/rollup-plugin-styles for both single bundle and multi bundle. I think using the same package for both branches is better approach :wink: