From 3f6bd822161950c466ac2a289b447577e0a3d651 Mon Sep 17 00:00:00 2001 From: Torsten Date: Thu, 12 Jan 2023 22:05:30 +0200 Subject: [PATCH] add webp images --- config/initializers/assets.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index 0ba9b31..9bfb6e1 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -9,4 +9,4 @@ Rails.application.config.assets.version = "1.0" # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in the app/assets # folder are already added. -Rails.application.config.assets.precompile += %w( marked.min.js ) +Rails.application.config.assets.precompile += %w( marked.min.js images/*.webp)