I’ve got a bit of a unique problem: I require certain assets to have specific output names. To save bandwidth I would also like to minify the assets (mostly CSS files) however using resources.Minify on an asset adds a suffix to the name.
I have tried to rename the asset back to the original name using the resources.Copy function: {{ (resources.Get "style.css" | resources.Minify | resources.Copy "style.css").RelPermalink }} however this prevents the minification from working.
I then tried renaming the source asset then renaming it to the desired name after the minification. In this case the rename appears to take effect before the minification so I’m still left with the “.min” suffix: {{ (resources.Get "style_source.css" | resources.Minify | resources.Copy "style.css").RelPermalink }}