tree-sitter-spl/bindings/node/index.js
2024-09-30 19:04:31 +02:00

7 lines
201 B
JavaScript

const root = require("path").join(__dirname, "..", "..");
module.exports = require("node-gyp-build")(root);
try {
module.exports.nodeTypeInfo = require("../../src/node-types.json");
} catch (_) {}