Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide option to post process styles #237
The specific use case here is that working with the new SharePoint framework (SPFX) if you want to use their theming capabilities you have to load all your css through a JS method called "loadStyles" (It goes in and does literal string replacement in your css it's quite silly, but there's not really anything we can do about it).
As far as I an tell the underlying mechanisms of this plugin only allows me to configure and supply a postCSS plugin, which will be very powerful, but still only works with the css, and I need one step above that to convert the css to script.
rollup-plugin-vue has the exact state I need: an object with template, script & css which all get combined to a final "compiled" output, so it only seemed natural to jump in there.
Hope this makes sense otherwise ask me to clarify more - this feels a bit rambly