ext-prepend
FilenamePrependExt inserts an additional extension before the existing file extension.
FilenamePrependExt inserts an additional extension before the existing file extension.
Input
string
Parameters
| # | Type | Required |
|---|---|---|
| 0 | string | yes |
Returns
string
Examples
{{ file_path | ext-prepend:'min' }}
{{ "app.js" | ext-prepend:'min' }}How is this guide?