mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 18:17:48 -05:00
8be2bbf074
Support for Wasm modules. Note this implements the standard where the default export is the instance (not the module). The module will come later with source phase imports. ```ts import { add } from "./math.wasm"; console.log(add(1, 2)); ```
10 lines
357 B
Text
10 lines
357 B
Text
Download http://localhost:4545/wasm/math_with_import.wasm
|
|
Download http://localhost:4545/wasm/math.ts
|
|
local: [WILDLINE]main.js
|
|
type: JavaScript
|
|
dependencies: 2 unique
|
|
size: [WILDLINE]
|
|
|
|
file:///[WILDLINE]/main.js ([WILDLINE])
|
|
└─┬ http://localhost:4545/wasm/math_with_import.wasm ([WILDLINE])
|
|
└── http://localhost:4545/wasm/math.ts ([WILDLINE])
|