SourceMappingUrlsCompiler
class SourceMappingUrlsCompiler implementsAssetCompilerInterface
Rewrites already-existing source map URLs to their final digested path.
Originally sourced from https://github.com/rails/propshaft/blob/main/lib/propshaft/compilers/source_mapping_urls.rb
Constants
SOURCE_MAPPING_PATTERN |
|
Methods
bool
supports(MappedAsset$asset)
No description
string
compile(string$content,MappedAsset$asset,AssetMapperInterface$assetMapper)
Applies any changes to the contents of the asset.
Details
string
compile(string$content,MappedAsset$asset,AssetMapperInterface$assetMapper)
Applies any changes to the contents of the asset.