chore: add jimp dependency, icon padding script, and update configuration

This commit is contained in:
2026-05-31 14:04:37 +02:00
parent 30f81045ac
commit 7cd17307ba
1126 changed files with 166400 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
import "isomorphic-fetch";
export default ((_ref, cb) => {
let {
url,
...options
} = _ref;
fetch(url, options).then(response => {
if (response.ok) {
return response.arrayBuffer().catch(error => {
throw new Error(`Response is not a buffer for url ${url}. Error: ${error.message}`);
});
}
throw new Error(`HTTP Status ${response.status} for url ${url}`);
}).then(data => cb(null, data)).catch(error => cb(error));
});
//# sourceMappingURL=request.js.map