Laravel Mix Views Minifier

JSON →
library 2.0.1 ·javascript maintenance
verified Jun 4, 2026

A Laravel Mix extension that minifies Blade or other template files using HTMLMinifier. Current stable version is 2.0.1, released in 2020, with no recent updates. It wraps html-minifier and integrates into Laravel Mix's build pipeline via mix.minTemplate(). Unlike generic minifiers, it is specifically designed for Laravel's storage/framework/views directory and automatically applies only in production. Note: requires Laravel Mix and Node.js, and is unmaintained since 2020.