File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/npm-packages/ruby-wasm-wasi Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { Fd , WASI } from "@bjorn3/browser_wasi_shim" ;
2
- import { RubyVM } from "./index.js" ;
3
- import { consolePrinter } from "./console.js" ;
2
+ import { RubyVM , consolePrinter } from "./index.js" ;
4
3
5
4
export const DefaultRubyVM = async (
6
5
rubyModule : WebAssembly . Module ,
Original file line number Diff line number Diff line change 6
6
JsAbiValue ,
7
7
} from "./bindgen/rb-js-abi-host.js" ;
8
8
9
+ export { consolePrinter } from "./console.js" ;
10
+
9
11
/**
10
12
* A Ruby VM instance
11
13
*
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ import * as browserWasi from "@bjorn3/browser_wasi_shim";
5
5
import fs from " fs/promises" ;
6
6
import path from " path" ;
7
7
import * as nodeWasi from " wasi" ;
8
- import { RubyVM } from " @ruby/wasm-wasi" ;
9
- import { consolePrinter } from " @ruby/wasm-wasi/dist/console" ;
8
+ import { RubyVM, consolePrinter } from " @ruby/wasm-wasi" ;
10
9
11
10
const deriveRubySetup = () => {
12
11
let preopens = {}
You can’t perform that action at this time.
0 commit comments