pub fn compile_src(js_src: &[u8]) -> Result<Vec<u8>>Expand description
Compiles JS source code to QuickJS bytecode.
Returns result with the success value being a vector of the bytecode and failure being the error message.
ยงArguments
config- A function that returns a config for Javymodify_runtime- A function that returns a Javy runtimejs_src- A slice of bytes representing the JS source code