We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8823d6b commit 59036b3Copy full SHA for 59036b3
tools/generate-images.js
@@ -40,7 +40,7 @@ async function generate(svg, path, {size, bg}) {
40
}
41
42
async function main() {
43
- await initWasm(readFile(new URL(import.meta.resolve('@resvg/resvg-wasm/index_bg.wasm'))));
+ await initWasm(await readFile(new URL(import.meta.resolve('@resvg/resvg-wasm/index_bg.wasm'))));
44
const gitea = argv.slice(2).includes('gitea');
45
const logoSvg = await readFile(new URL('../assets/logo.svg', import.meta.url), 'utf8');
46
const faviconSvg = await readFile(new URL('../assets/favicon.svg', import.meta.url), 'utf8');
0 commit comments