Asset bundling not picking up overrides?

{{ $js := slice $script $ffoscript $ffouser | resources.Concat "bundle.js" -}}
{{ $bundle := resources.Get "bundle.js" | minify | fingerprint -}}

Your bundle is already a resource, you don’t have to “.Get” it. By doing so you’re telling hugo to look at a js/bundle.js in your asset dir.

$js is your bundle, and you can use minify, fingerprint and eventually print its .Permalink.

1 Like