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
Allow engineers to import .walt modules into their JavaScript.
Overview
Currently, it's possible to import a .walt file into your webpack project via raw-loader followed by manually compiling the source into a WebAssembly module.
Goal
Allow engineers to import .walt modules into their JavaScript.
Overview
Currently, it's possible to import a
.walt
file into your webpack project viaraw-loader
followed by manually compiling the source into a WebAssembly module.Here is an example, from docs:
walt/docs/src/examples/memory.js
Line 1 in 296f1cb
And here is the very basic webpack config:
Instead, there should be a loader which can read, compile and load
.walt
files awalt-loader
.Acceptance Criteria
.walt
import into a factory method returning a WebAssembly module promise, see https://github.com/ballercat/wasm-loader. Maybe chain the two loaders?The text was updated successfully, but these errors were encountered: