index.js 377 B

123456789101112
  1. const path = require('path');
  2. const includeDir = path.relative('.', __dirname);
  3. module.exports = {
  4. include: `"${__dirname}"`, // deprecated, can be removed as part of 4.0.0
  5. include_dir: includeDir,
  6. gyp: path.join(includeDir, 'node_api.gyp:nothing'), // deprecated.
  7. targets: path.join(includeDir, 'node_addon_api.gyp'),
  8. isNodeApiBuiltin: true,
  9. needsFlag: false
  10. };