abishekatp / stylers

Fully compile time scoped CSS for Leptos components
MIT License
139 stars 13 forks source link

write generated CSS files to target directory #11

Closed M1cha closed 1 year ago

M1cha commented 1 year ago

Having proc-macros or build script write anywhere outside of target doesn't seem like a good idea since it requires extra ignore rules and cleanup steps.

abishekatp commented 1 year ago

Yeah it seems what you are suggesting is a good idea. I will try to move the css directory and mani.css file to the target directory.

abishekatp commented 1 year ago

Fixed this issue here https://github.com/abishekatp/stylers/pull/12. Thank you for suggesting this idea. Moving the main.css file to the target directory solved the multiple re-render issue. Also thank you for helping me out for this issue @thedodd and @adriaanjoubert. Closing this issue now.