mrf345/flask_minify

Integration with Jinja2 for CSS/JS ?

jorgelaranjo opened this issue · 1 comments

The HTML gets minified which was the initial goal. But somehow the CSS and JS which are included on the JINJA2 templates are not being minified.

minify = Minify()
minify.fail_safe = False

and then after app created on app factory then minify.init_app(app)

Is this the expected result, that just html and not the CSS + JS if included on JINJA2 are not minified?

Closing because after inspecting with curl, it's evident that it's functioning correctly; the browser inspector had the pretty printer enabled.