This repository has been archived by the owner on Mar 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 72
ignore_environments #29
Comments
Could you try to debug it? I heard this issue before but cannot find the problem. |
As far as I understand the code, what happens is that Minify\Minify::process() is called to add a file to the filelist, which then calls provider->minify() which calls JSMin or CssMinifier. By adding the same environment check to Minify\Minify::process() we can prevent constant minification on development environments. If you'd like, either Doublehomme or myself can send in a patch with these changes. |
Please submit a pull request! |
jorygeerts
added a commit
to jorygeerts/minify
that referenced
this issue
Apr 24, 2014
Merged! Thx! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
When I use the ignore_environments option, the minified files are still generated. The package just returns the path to the real files (not the minified ones).
I think it would be better when you're on a environment that needs to be ignored, the files are not minified. This is because whenever I change anything in the CSS or Javascript the minified files are re-generated and takes a lot of time.
The text was updated successfully, but these errors were encountered: