Remove wasm loader from docs (#16479)

This commit is contained in:
pfg
2025-01-17 13:47:14 -08:00
committed by GitHub
parent 5b608f2c64
commit db5e9bd6d3

View File

@@ -152,19 +152,6 @@ export default "Hello, world!";
{% /codetabs %}
### `wasm`
**WebAssembly loader**. Default for `.wasm`.
In the runtime, WebAssembly files can be directly imported. The file is read and returned as a `WebAssembly.Module`.
```ts
import wasm from "./module.wasm";
console.log(wasm); // => WebAssembly.Module
```
In the bundler, `.wasm` files are handled using the [`file`](#file) loader.
### `napi`
**Native addon loader**. Default for `.node`.