Webshot the NPM way with phantomjs2

Hi fellow meteorites,
I’m currently using webshots as a NPM package thanks to meteorhacks:npm package.
It was pretty easy but now I have a flexbox issue. The phantomjs version that is linked to webshot does not support it and my content isn’t vertically aligned when shooted :frowning:
As I rode it on the phantomjs github issue I can fix that if using phantomjs2. It’s pretty straight forward on my local machine, I can do it by editing packages/npm-container/.npm/package/node_modules/webshot/lib/options.js and changing the phantomPath.

But how do I do it when I build my meteor app ?
Thanks for you time reading this :smile:

1 Like