I am using Mindscape Workbench to minimize my scss files. My pages are set to use the *.min.css files. At random times, the min file is not published with the rest of the system.
I have many css files and don't want to manually check each one after every publication.
UPDATE:
- I would like this to be a run-time fix. Meaning, if the browser doesn't find the desired css, it fails to the full css.
- The issue never happens when I modify and publish the file. However, we have numerous people working on the solution and updating the git repository. Somehow, a few of the users are inadvertently removing the *.min.css files. It is definitely not on purpose and should not be happening.
Is there a way to specify that I want the *.min.css file, but if it is missing load the *.css instead?
I realize that it is best to prevent the issue, but my question is specifically related to the possibility of a fail-safe. My application is published by my users on their own servers so I don't have control over what they do and having an option like this would allow me a bit more control and safety.
UPDATE2:
Another option is an automated tool to ensure all *.min.css files were included in the latest publication. Ideally, it would find all *.scss files and verify that the *.min.css exists and raise a flag if any are missing.