MyNixOS website logo
option

services.movim.minifyStaticFiles

Do minification on public static files which reduces the size of assets — saving data for the server & users as well as offering a performance improvement. This adds typing for the minifyStaticFiles attribute for the Movim package which will override any existing override value. The default true will enable minification for all supported asset types with sane defaults.

Declarations
Type
boolean or (submodule)
Default
true
Example
{
  script.enable = false;
  style = {
    enable = true;
    target = "> 0.5%, last 2 versions, Firefox ESR, not dead";
  };
  svg.enable = true;
}