# frozen_string_literal: true require 'sass' module Lipstick module SprocketsAssetDataURL def asset_data_url(path) ::Sass::Script::String.new( "url(#{sprockets_context.asset_data_uri(path.value)})" ) end end ::Sass::Script::Functions.send(:include, SprocketsAssetDataURL) end