Jason Siefken
Jason Siefken
Thanks for the reply! I just tried that, but it doesn't work in the browser. I suspect it's because of the use of the `fs` module...Was there any ever work...
The code I am trying is ```typescript function processRelaxNgSchema(relaxNgSource: string) { const url = new URL( URL.createObjectURL(new Blob([relaxNgSource], { type: "text" })) ); console.log("SALVE", salve.convertRNGToPattern(url)); } ``` and I am...
@bes Yes, I would be open to a PR on https://github.com/siefkenj/tsify Please make your PR to the `next` branch.
If you put a `"web"` feature in your crate, you can do ```rust #[cfg(feature = "web")] use tsify::Tsify; #[cfg(feature = "web")] use wasm_bindgen::prelude::* #[derive(Debug, Clone, Serialize, Deserialize)] #[cfg_attr(feature = "web",...