From 1be025b3299279d805e992b3734365a41d217437 Mon Sep 17 00:00:00 2001 From: IEduStu <125146135+IEduStu@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:41:36 +0000 Subject: [PATCH 1/3] fix: make maskable icons not get overriden during the build --- webpack.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index b23ee4c15..878d52f97 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -261,16 +261,16 @@ module.exports = (env, argv) => ({ icons: [ { src: 'images/icon.png', - destination: `${COMMIT_HASH}/images`, + destination: `${COMMIT_HASH}/icons`, sizes: [196, 512], - purpose: 'any', - ios: true, + purpose: 'any' }, { src: 'images/maskable_icon.png', - destination: `${COMMIT_HASH}/images`, + destination: `${COMMIT_HASH}/maskable_icons`, sizes: [196, 512], purpose: 'maskable', + ios: true }, { src: 'favicons/favicon.ico', From 45cbaa0a29b99a784a80dcadef6daba65de635eb Mon Sep 17 00:00:00 2001 From: "Timothy Z." Date: Wed, 22 Jan 2025 11:40:14 +0200 Subject: [PATCH 2/3] refactor(webpack): remove destination for icons --- webpack.config.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 878d52f97..4e0e23d91 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -261,13 +261,11 @@ module.exports = (env, argv) => ({ icons: [ { src: 'images/icon.png', - destination: `${COMMIT_HASH}/icons`, sizes: [196, 512], purpose: 'any' }, { src: 'images/maskable_icon.png', - destination: `${COMMIT_HASH}/maskable_icons`, sizes: [196, 512], purpose: 'maskable', ios: true From 528b0f623418f2d87d85ab72394b630ba20060fc Mon Sep 17 00:00:00 2001 From: "Timothy Z." Date: Wed, 22 Jan 2025 11:58:06 +0200 Subject: [PATCH 3/3] Revert "refactor(webpack): remove destination for icons" This reverts commit 45cbaa0a29b99a784a80dcadef6daba65de635eb. --- webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 4e0e23d91..878d52f97 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -261,11 +261,13 @@ module.exports = (env, argv) => ({ icons: [ { src: 'images/icon.png', + destination: `${COMMIT_HASH}/icons`, sizes: [196, 512], purpose: 'any' }, { src: 'images/maskable_icon.png', + destination: `${COMMIT_HASH}/maskable_icons`, sizes: [196, 512], purpose: 'maskable', ios: true