mirror of
https://github.com/pnx/tree-sitter-dotenv
synced 2026-06-17 14:20:02 +02:00
update outdated files via tree-sitter init -u
This commit is contained in:
parent
940f387a98
commit
58608e4796
11 changed files with 137 additions and 27 deletions
6
bindings/node/index.js
generated
6
bindings/node/index.js
generated
|
|
@ -1,6 +1,10 @@
|
|||
const root = require("path").join(__dirname, "..", "..");
|
||||
|
||||
module.exports = require("node-gyp-build")(root);
|
||||
module.exports =
|
||||
typeof process.versions.bun === "string"
|
||||
// Support `bun build --compile` by being statically analyzable enough to find the .node file at build-time
|
||||
? require(`../../prebuilds/${process.platform}-${process.arch}/tree-sitter-dotenv.node`)
|
||||
: require("node-gyp-build")(root);
|
||||
|
||||
try {
|
||||
module.exports.nodeTypeInfo = require("../../src/node-types.json");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue