Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Declare an ABI for the bindings #2402

@nschonni

Description

@nschonni

I'm thinking we should create an ABI version number similar to the the way Node has the Module version.
I was looking at the node-pre-gyp stuff again and they use a version number as part of their example. The version number isn't a mandatory part of the binding name, but I think having something that doesn't collide between versions is a good idea.

Pros:

  • If people switch node-sass versions, the vendor or cache can keep multiple binding versions and not get confused
  • We can still copy/paste bindings between releases if there is not C++ changes

Cons:

  • Vendor/cache will be larger if not cleaned out over time

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions