nwutils/nw-builder

Node Native Addon (GYP)

ayushmanchhabra opened this issue · 0 comments

Issue Type

  • Bug Fix
  • Feature
  • Other

Current/Missing Behaviour

Expected/Proposed Behaviour

Let nw-builder handle it:

  • Download NW.js's Node specific headers
  • Point node-gyp to those headers
  • Create a node-gyp rebuild addon
  • Test that it runs in NW.js

Additional Info

It should be possible to build native node modules using latest version of node-gyp:
https://github.com/nodejs/node-gyp#build-for-third-party-nodejs-runtimes. We might be able to simplify the DX by using electron-rebuild's approach.

Blocked by: #842