mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-05 02:43:32 +00:00
Avoid remote git/SSH downloads for the Dart grammar during Docker and npm installs by resolving tree-sitter-dart from vendored source and building it during postinstall. Made-with: Cursor
7 lines
201 B
JavaScript
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 (_) {}
|