Skip to content

Replace prebuild + prebuild-install with prebuildify + node-gyp-build as recommended in prebuild-install README #536

@0xdevalias

Description

@0xdevalias

I was recently doing a deep dive to understand how isolated-vm's prebuilts work; and see that it currently uses prebuild + prebuild-install:

But when I was looking at the prebuild-install README, it suggests the following:

Presumably recommended based on this aspect (from the prebuildify README):

With prebuildify, all prebuilt binaries are shipped inside the package that is published to npm, which means there's no need for a separate download step like you find in prebuild. The irony of this approach is that it is faster to download all prebuilt binaries for every platform when they are bundled than it is to download a single prebuilt binary as an install script.

Always use prebuildify --@mafintosh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions