Welcome to the Treehouse Community
Looking to learn something new?
Marty Hitchcock13,108 Points
How to use concatenated files for production only
I am currently using Grunt to concat my css files each time I do a git commit. However, that means between commits when I am working on something I will not be able to see the changes.
Is there a way to change between:
<link href='css/production.css' rel='stylesheet'>
<link href='css/header.css' rel='stylesheet'> <link href='css/app.css' rel='stylesheet'> etc
I can get the trigger as to WHEN to make the change, I just don't know HOW to change the links.
Can I hear some explanations on how other people change their concatenated files etc between development and production? Unsure if i'm doing it right.