Skip to content
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

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ryanzidago
Copy link
Contributor

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.

  • Having npm packages installed locally makes it easier to deploy an application to Heroku, where it is unrecommended to having them installed globally.

  • Furthermore, with this prefer_local_executable, users are not required to do complex manipulation with Makefile, granted that they do not use mix release.

  • The README.md was adapted to include the options, typos were fixed.

  • A test was written to check if the option works as intented.

@gutschilla
Copy link
Owner

Hu @ryanzidago ,
thanks for the idea and implementation. I have have merged your code here as a result:
#82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants