How to add compiled CSS code to SASS files without CSS file being overwritten

Issue

There is currently SASS files in place (mixins, partials, variables etc) however, although these are still in place, a lot of CSS code was manually added to the final compiled CSS file which means the SASS files are not updated and if they were compiled, the manual CSS that was added would be overwritten.

How can I add the manual CSS that was added to the compiled CSS so that it is included as part of my SASS and prevent any overwrites?

Solution

I ended up adding the normal css file part of my SASS so it compiled as one file than to overwrite it. I then setup my own SASS structure which new code will go in to.

Answered By – Raj Chudasama

Answer Checked By – Senaida (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.