Skip to content

Commit 01a80b8

Browse files
load +stdlib variant by default for most use case
1 parent 4969bc6 commit 01a80b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/npm-packages/ruby-wasm-wasi/src/browser.script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { DefaultRubyVM } from "./browser";
22

33
export const main = async (pkg: { name: string, version: string }) => {
44
const response = await fetch(
5-
`https://cdn.jsdelivr.net/npm/${pkg.name}@${pkg.version}/dist/ruby.wasm`
5+
`https://cdn.jsdelivr.net/npm/${pkg.name}@${pkg.version}/dist/ruby+stdlib.wasm`
66
);
77
const buffer = await response.arrayBuffer();
88
const module = await WebAssembly.compile(buffer);

0 commit comments

Comments
 (0)