BE-SPAN/node_modules/node-addon-api/index.js
githubna-ilham 722cd440e8 first commit
2024-10-20 22:04:16 +07:00

12 lines
306 B
JavaScript

const path = require('path');
const includeDir = path.relative('.', __dirname);
module.exports = {
include: `"${__dirname}"`, // deprecated, can be removed as part of 4.0.0
include_dir: includeDir,
gyp: path.join(includeDir, 'node_api.gyp:nothing'),
isNodeApiBuiltin: true,
needsFlag: false
};