tree-sitter-bp/bindings/node/index.js

8 lines
201 B
JavaScript
Raw Normal View History

const root = require("path").join(__dirname, "..", "..");
module.exports = require("node-gyp-build")(root);
2024-04-07 20:59:34 +02:00
try {
module.exports.nodeTypeInfo = require("../../src/node-types.json");
} catch (_) {}