Issues using library with Bun
This may be an issue with Bun specifically since the code works with node/tsx however it might be that the library is doing something strange.
When I try and run a script that contains
import { compile } from "@fileforge/react-print";
Bun will throw an error:
25860 | template: /* @PURE */ React9.createElement(Latex, null, String.raw`% \f is defined as #1f(#2) using >the macro
Hello @paradoxloop! I will have a look at the MVR in the Bun repository to confirm on which side it should be. I'll keep you posted by Monday. Thanks!
Seems to be on the Bun side, will see if we can narrow it down on our side to help. Many thanks for reporting this!