Jakob Lind

Results 68 comments of Jakob Lind

I need to be able to specify`--flavor`. We have one flavor for each environment. Ideally, I would like to define all environments in some config file, and then run some...

Where can I get an overview on what needs to be done? Might be able to contribute..

Hi @alanpilloud Unfortunately, this solution doesn't work for me. The library must be self-hosted. I have another workable solution where I copy the `pdf.worker.min.js` file with `CopyWebpackPlugin` and use that....

Now I have a solution to the problem and I'm sharing it here in case anyone else has the same issue: ``` import { Page, Document, pdfjs } from 'react-pdf/dist/esm/entry.webpack5'...

@egemenu Try this ``` if (typeof window !== 'undefined' && 'Worker' in window) { pdfjs.GlobalWorkerOptions.workerPort = new Worker( new URL('pdfjs-dist/legacy/build/pdf.worker', import.meta.url) ) } ``` Does that work for you without...

Wow, impressive work @theajr ! I have trouble running the projects. React+typescripts gives the following error when I run `npm start`: ``` rollup v1.25.2 bundles src/index.tsx → dist/bundle.js... [!] Error:...

I have never seen that issue. Did it work before and suddenly stopped working? Which node version are you using?

ok maybe your error comes from the crash. It works fine for me on 10.x LTS. good luck fixing the mac, hope it isn't too difficult to fix

I can reproduce the error you showed me yesterday on my mac. On my linux machine it works fine. Netlify also runs linux I think, that's why it also works...

I pushed a fix to master. Please checkout and test. You might have to remove the `node_module` folder first. This was the issue: There was a mismatch between version of...