mirror of
https://github.com/dualshock-tools/dualshock-tools.github.io.git
synced 2026-03-01 11:19:54 +03:00
Fix the build issue mangling the png files
This commit is contained in:
committed by
dualshock-tools
parent
68bfe1388b
commit
6073803215
|
Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 449 B |
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<div class="collapse" id="ethereumCollapse">
|
||||
<div class="card card-body">
|
||||
<h5 class="card-title">Ethereum Address</h5>
|
||||
<center><img src="donate.png" width="128px" /></center>
|
||||
<center><img src="assets/donate.png" width="128px" /></center>
|
||||
<input type="text" class="form-control" value="0x27dDA2f15A6A477fcdFB3709Ed0760aEF0246D5D" readonly />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user