1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/middleman-core/fixtures/asset-hash-remove-filename/config.rb

10 lines
243 B
Ruby

# frozen_string_literal: true
activate :asset_hash,
rename_proc: lambda do |path, _basename, digest, extension, _options|
"#{path}#{digest}#{extension}"
end
activate :relative_assets
activate :directory_indexes