]> git.openstreetmap.org Git - rails.git/commitdiff
Silence image_optim warnings in development
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 31 May 2023 16:39:54 +0000 (17:39 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 31 May 2023 16:44:27 +0000 (17:44 +0100)
Lots of new developers see this during configuration (e.g. rails
db:migrate) and then spend time trying to fix them. So let's avoid
the warnings entirely.

config/image_optim/development.yml [new file with mode: 0644]

diff --git a/config/image_optim/development.yml b/config/image_optim/development.yml
new file mode 100644 (file)
index 0000000..7e81f35
--- /dev/null
@@ -0,0 +1,12 @@
+skip_missing_workers: true
+advpng: false
+gifsicle: false
+jhead: false
+jpegoptim: false
+jpegtran: false
+optipng: false
+oxipng: false
+pngquant: false
+pngout: false
+pngcrush: false
+svgo: false