-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bun.sh as runtime #119
Comments
See #116 You can probably define an |
Thanks for suggestion. I tried this: require 'execjs'
require "execjs/external_runtime"
PATH_TO_JS = File.join(__dir__, "/katex.min.js")
BUN = ExternalRuntime.new(
name: "Bun",
command: ["bun run"],
#runner_path: ExecJS.root + "/support/node_runner.js",
encoding: 'UTF-8'
)
KATEX = BUN.compile(open(PATH_TO_JS).read) But I get
Am I accessing the ExternalRuntime class right ? |
|
Thank you! You did great job. Is there a way to force my program to select bun as runtime even I have nodejs and bun installed at the same time ? |
Hello, is there way to use bun.sh as runtime ?
Thanks for support
The text was updated successfully, but these errors were encountered: