flask_minify
flask_minify copied to clipboard
Subdirectories
Files placed in subdirectories are ignored.
Example: Processed: /app/blueprint/static/css/mycss.css Ignored: /app/blueprint/static/css/ext/extcss.css
Not necessarily an issue, rather an improvement.
I can't reproduce the issue with a vanilla setup, most probably some special condition in your setup
I should've been more clear. This is only happening in blueprints.
No worries, tested with blueprints, seems to work
We're not using the same set-up anymore as when I made the ticket. So I'm sorry to have wasted your time. I might come back to this later if I can find the right set-up. Thanks for looking into it!
No worries at all, my pleasure. Let's leave it open for now, someone else might come across the edge-case that caused it.
I thought I had the same issue as well, and I spent longer than I wish to admit debugging it. But it was a false alarm. It looked like javascript (stored in static/js
) was not minified, but it turned out my browser still had a non-minified version cached somewhere. Retrieving the file with curl
, or a hard refresh in the browser showed the file was actually minified.