From 60738032150027e513882be64953bbc84d7b20f8 Mon Sep 17 00:00:00 2001 From: Mathias Malmqvist Date: Sun, 28 Sep 2025 23:39:57 +0200 Subject: [PATCH] Fix the build issue mangling the png files --- donate.png => assets/donate.png | Bin gulpfile.js | 6 +++--- templates/donate-modal.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename donate.png => assets/donate.png (100%) diff --git a/donate.png b/assets/donate.png similarity index 100% rename from donate.png rename to assets/donate.png diff --git a/gulpfile.js b/gulpfile.js index e2fcb02..8e80c6f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -45,7 +45,7 @@ const paths = { 'web-app-manifest-192x192.png', 'web-app-manifest-512x512.png', 'site.webmanifest', - 'donate.png', + 'assets/donate.png', 'googlec4c2e36a49e62fa3.html', 'fa.min.css' ], @@ -282,11 +282,11 @@ function languages() { function assets() { if (isProduction) { // In production, SVGs are bundled into the HTML file, so only copy other assets - return gulp.src(paths.src.assets, { base: '.' }) + return gulp.src(paths.src.assets, { base: '.', encoding: false }) .pipe(gulp.dest(paths.dist)); } - return gulp.src([...paths.src.assets, paths.src.svg], { base: '.' }) + return gulp.src([...paths.src.assets, paths.src.svg], { base: '.', encoding: false }) .pipe(gulp.dest(paths.dist)); } diff --git a/templates/donate-modal.html b/templates/donate-modal.html index c583688..5765995 100644 --- a/templates/donate-modal.html +++ b/templates/donate-modal.html @@ -15,7 +15,7 @@
Ethereum Address
-
+