Is it possible to minify page resources?

{{ range .Resources.Match "js/*.js" }}
  {{.Content|safeJS}}
{{ end }}

Docs say that any resource can be minified. But apparently there’s no obvious way of accessing .ResourceTransforers of a .Resource when it comes to Page resources.

Is it possible at all?

Try:

{{ range .Resources.Match "js/*.js" }}
  {{ (. | minify).Content | safeJS}}
{{ end }}