Project

General

Profile

Defect #41729 ยป 41729-fix-svg_sprite-loaderror.patch

Go MAEDA, 2024-11-12 04:35

View differences:

lib/tasks/icons.rake
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
unless Rails.env.production?
require "svg_sprite"
ICON_RELEASE_VERSION = "v3.19.0"
ICON_DEFAULT_STYLE = "outline"
SOURCE = URI.parse("https://raw.githubusercontent.com/tabler/tabler-icons/#{ICON_RELEASE_VERSION}/icons")
......
end
def generate_svg_sprite(input_path, sprite_path)
require "svg_sprite"
SvgSprite.call(
input: input_path,
name: 'icon',
    (1-1/1)