const fs = require('fs');
const imgPath = 'd:\\React\\React\\GP-Crackers-shop\\assets\\images\\logo-bg-removed2.png';
const b64 = fs.readFileSync(imgPath, {encoding: 'base64'});
const outPath = 'd:\\React\\React\\GP-Crackers-shop\\assets\\js\\logo-base64.js';
fs.writeFileSync(outPath, 'const LOGO_BASE64 = "data:image/png;base64,' + b64 + '";\n');
console.log('Done');
