The configured assets path
The configured assets prefix
Get the final path, unprefixed, for a given base assets directory.
Get the final path, unprefixed, for a given base assets directory.
the location to look for the assets
the initial path of the asset
Used to obtain the final path of an asset according to assets configuration.
Used to obtain the final path of an asset according to assets configuration. This returns the minified path, if exists, with a digest if it exists. It is possible to use this in cases where minification and digests are used and where they are not. If no alternative file is found, the original filename is returned.
This method is like unprefixedPath, but it prepends the prefix defined in configuration.
Note: to get the path without a URL prefix, you can use this.unprefixed.path(rawPath)
The original path of the asset
an AssetsFinder with no URL prefix
Create an AssetsFinder with a custom assets location (replacing the current assets base path)
Create an AssetsFinder with a custom URL prefix (replacing the current prefix)
Can be used to find assets according to configured base path and URL base.