[node] Drop node 4.x support

This commit is contained in:
John Firebaugh
2018-06-15 15:35:32 -07:00
parent 3a1c7f3b99
commit ec05ee41d1
3 changed files with 5 additions and 63 deletions

View File

@@ -21,7 +21,10 @@ create_source_groups(mbgl-loop-node)
add_node_module(mbgl-node
INSTALL_PATH "lib/{node_abi}/mbgl.node"
NAN_VERSION "2.10.0"
EXCLUDE_NODE_ABIS 47 51 59 # Don't build old beta ABIs 5.x, 7.x, and 9.x
# Don't build for Node 4.x, 5.x, 7.x, or 9.x
# See https://nodejs.org/en/download/releases/ for mapping of Node version to ABI number
EXCLUDE_NODE_ABIS 46 47 51 59
)
target_sources(mbgl-node INTERFACE