Skip to content

gigasource/yoga-wasm-web

Repository files navigation

yoga-wasm-web

Yoga but in WebAssembly. This is an opinionated fork from pinqy520/yoga-layout-wasm with the following changes:

  • Stick to commit 5dd33acc of Yoga, which supports gap.
  • Fix missing YGMeasureMode binding.
  • Fix missing YGUnit binding.
  • Set flag DYNAMIC_EXECUTION=0 for emcc to remove eval and Function executions.
  • Set flag TEXTDECODER=0.
  • Force the ENVIRONMENT to be web.
  • Add pre.js to set document as this.
  • Replace Rollup with esbuild for bundling.
  • Remove the asm.js build.
  • Enable LTO.
  • Enable SIMD128.

About

No description, website, or topics provided.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE_yoga-layout-wasm

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published