tree-sitter-html/index.js

10 lines
214 B
JavaScript

try {
module.exports = require("./build/Release/tree_sitter_html_binding");
} catch (error) {
try {
module.exports = require("./build/Debug/tree_sitter_html_binding");
} catch (_) {
throw error
}
}