🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

How to minify and bundle .css files?

How do we minify .css (and .js) files in Dash, and bundle them into one file? There’s a Flask extension called Flask-Assets that works for Flask apps, but it seems to require templating. It might be possible to use the webassets library which Flask-Assets is built on top of, but is there any more elegant way of doing this?