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

8 lines
201 B
JavaScript
Raw Permalink Normal View History

2024-09-30 19:04:31 +02:00
const root = require("path").join(__dirname, "..", "..");
module.exports = require("node-gyp-build")(root);
2023-05-24 21:48:37 +02:00
try {
module.exports.nodeTypeInfo = require("../../src/node-types.json");
} catch (_) {}