AssemblyScript / binaryen.js

A buildbot for browser & Node.js builds of Binaryen, a compiler infrastructure and toolchain library for WebAssembly.
http://github.com/WebAssembly/binaryen
Apache License 2.0
360 stars 50 forks source link

Add bundling step and hide top-level await #52

Closed dcodeIO closed 2 years ago

dcodeIO commented 2 years ago

Makes it so that instead of

import Binaryen from "binaryen";
const binaryen = await Binaryen();

the exposed API is now again

import binaryen from "binaryen";

hiding the underlying top-level await.