Small post / experience report on using dart2wasm to build efficient JavaScript packages: https://www.simonbinder.eu/posts/dart2wasm_library/
Building highly efficient JavaScript packages with dart2wasm