-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Problem with CommonJS. #447
Comments
Can you change |
Hi @schoero, this was my first thought but I can't change it because my NestJs application stop working. Also I tried to import it like: But then I have problem with: Would you mind to provide some workaround? |
I tried to reproduce this, but It seems to work also with Take a look here: https://stackblitz.com/edit/schoero-swissqrbill-bpener?file=src%2Fpdf.ts |
According to https://www.typescriptlang.org/tsconfig/#moduleResolution - In my case, an Angular 18 project would not build with CommonJS/classic settings. Saying this, I have a similar problem, just that another library does not support But it's probably easier to find a workaround in my case. Anyways, thank you very much for building and maintaining this library 🙏 |
Hi, first of all thank you for really great library.
There is one small problem, basically I can't use this library in project with CJS (example NestJS). Whenever I'm trying to import the library I'm getting:
Can you help me with that?
The text was updated successfully, but these errors were encountered: