You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<scripttype="module">importyogafrom'https://jspm.dev/yoga-layout'// use yoga.Node, etc.</script>
Need to investigate how they do it. The import * as wasm from './file.wasm' won't work because it is designed for someone to import using a build tool like Webpack.
@trusktr nbind seems to have been abandoned for some time and doesn't work natively with the current node LTS. I have also been looking for a way around this issue. I'd be interested to learn if you found anything.
This is possible with Yoga:
Need to investigate how they do it. The
import * as wasm from './file.wasm'
won't work because it is designed for someone to import using a build tool like Webpack.Looks like they compile the Wasm to JavaScript for this use case: https://unpkg.com/browse/[email protected]/build/Release/nbind.js
Looks like perhaps a combination of https://github.com/charto/nbind and emscripten with asm.js output.
The text was updated successfully, but these errors were encountered: