From a5890208171b433100352ef4cfaa3df7c3c92bf5 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Sat, 17 Jul 2021 18:06:25 -0500 Subject: [PATCH] Update lib/js-api/README.md --- lib/js-api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/js-api/README.md b/lib/js-api/README.md index 791df90ab..9a3a1cfe1 100644 --- a/lib/js-api/README.md +++ b/lib/js-api/README.md @@ -46,7 +46,7 @@ pub extern fn do_add_one_in_wasmer() -> i32 { ## Feature flags -Wasmer has the following configuration flags: +`wasmer-js` has the following feature flags: * `wasm-types-polyfill` (enabled by default): it parses the Wasm file to introspect the inner types. __It adds 100Kb to the Wasm bundle__ (28Kb gzipped). You can disable it and use `Module::set_type_hints` manually instead if you want a lightweight alternative. This is needed until the [Wasm JS introspection API proposal](https://github.com/WebAssembly/js-types/blob/master/proposals/js-types/Overview.md) is adopted by browsers