flask_minify icon indicating copy to clipboard operation
flask_minify copied to clipboard

Subdirectories

Open stanmertens opened this issue 3 years ago • 6 comments

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.

stanmertens avatar Jun 07 '21 15:06 stanmertens

I can't reproduce the issue with a vanilla setup, most probably some special condition in your setup

image

mrf345 avatar Dec 04 '21 17:12 mrf345

I should've been more clear. This is only happening in blueprints.

stanmertens avatar Dec 04 '21 21:12 stanmertens

No worries, tested with blueprints, seems to work

image

mrf345 avatar Dec 04 '21 22:12 mrf345

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!

stanmertens avatar Dec 06 '21 17:12 stanmertens

No worries at all, my pleasure. Let's leave it open for now, someone else might come across the edge-case that caused it.

mrf345 avatar Dec 07 '21 16:12 mrf345

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.

retuow avatar May 22 '22 20:05 retuow