Skip to content

Dynamically determine the version of phantom to use #1

@d4nyll

Description

@d4nyll

If the version of Node is:

  • < 5, use phantom@2
  • 5, use phantom@3
  • 6+, use latest version

Reference to phantomjs.node docs

Maybe use engine-dependencies package to achieve this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions