Update oxipng build system

This commit is contained in:
Ingvar Stepanyan
2020-09-24 01:33:16 +01:00
committed by Ingvar Stepanyan
parent 35d31f2324
commit 05416768d5
15 changed files with 20 additions and 271 deletions

View File

@@ -144,7 +144,7 @@ async function load(module, imports, maybe_memory) {
async function init(input, maybe_memory) {
if (typeof input === 'undefined') {
input = import.meta.url.replace(/\.js$/, '_bg.wasm');
}
const imports = {};
imports.wbg = {};