- Language mode
- 6.0
- Product
- Not released
Build a web package with 5.21
Call Topaz 5.21 from JavaScript shows how to build a WebAssembly package, import its loader and call an exported function. It also covers running the call in a Worker.
Declare a web target
In topaz., the [build] table accepts target = "web" or target = "web-. An omitted target defaults to native.
What the current CLI supports
The 6.0 runner rejects packages configured for either web target. The default runner has no topaz build command. The native development CLI provides topaz build for the native target and rejects both - and -.
See the 6.0 build command for command availability.