mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Remove wasm loader from docs (#16479)
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user