react-print-pdf icon indicating copy to clipboard operation
react-print-pdf copied to clipboard

Issues using library with Bun

Open paradoxloop opened this issue 1 year ago • 2 comments

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

Bun Repository Issue Link

paradoxloop avatar Aug 24 '24 18:08 paradoxloop

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!

Titou325 avatar Aug 24 '24 18:08 Titou325

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!

Titou325 avatar Aug 26 '24 23:08 Titou325