From 443f452689256a2de27e325cd2a9b1da4aca4e0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Mon, 1 Feb 2021 15:10:30 +0000 Subject: [PATCH] Fix a bug with the favicon spinner --- Gruntfile.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 86c8d03..392c36f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -60,6 +60,13 @@ module.exports = function(grunt) { {src: ['./front/src/img/favicon.png'], dest: './front/build/img/favicon.png'}, {src: ['./front/src/img/logo-large.png'], dest: './front/build/img/logo-large.png'}, ] + }, + favicons: { + files: [ + {src: ['./front/src/img/favicon.png'], dest: './front/build/img/favicon.png'}, + {src: ['./front/src/img/favicon-fail.png'], dest: './front/build/img/favicon-fail.png'}, + {src: ['./front/src/img/favicon-success.png'], dest: './front/build/img/favicon-success.png'}, + ] } }, mochaTest: { @@ -206,7 +213,8 @@ module.exports = function(grunt) { 'filerev', 'usemin', 'htmlmin:main', - 'clean:tmp' + 'clean:tmp', + 'copy:favicons' ]); grunt.registerTask('hint', [