Sterc / modx-minify

9 stars 5 forks source link

Generate minified filename based on md5 hash #17

Open joeke opened 7 years ago

joeke commented 7 years ago

At the moment the minified filename is generated based on the latest file modification time of the files from the group. But when using imports inside a css file, the modification times of those files are not checked so the minified file is sometimes not updated correctly. Using the md5 hash from the minified file should solve this.

mindeffects commented 7 years ago

Would be an awesome feature! Especially when you work with frameworks like Zurb's foundation, you have to deal with many @import and having checked all of those automagically would be a dream! Changed a fd setting? No, problem! SCSS parsing done.