gutschilla / elixir-pdf-generator

Create PDFs with wkhtmltopdf or puppeteer/chromium from Elixir.
MIT License
330 stars 71 forks source link

Added `prefer_local_executable: true` option so that users are able to install `chrome-headless-render-pdf` and `puppeteer` locally #61

Open ryanzidago opened 4 years ago

ryanzidago commented 4 years ago

For instance, in the context of a Phoenix application, users can now chose if they would rather install chrome-headless-render-pdf and puppeteer within the /assets/node_modules directory.

gutschilla commented 3 years ago

Hu @ryanzidago , thanks for the idea and implementation. I have have merged your code here as a result: https://github.com/gutschilla/elixir-pdf-generator/pull/82