docs: Update tree-sitter

Updated web-tree-sitter and the devicetree grammar.

web-tree-sitter now supports a custom function to locate its .wasm file,
so performing a string replace is no longer necessary to get it to work
with Docusaurus' Webpack configuration. We now check when tree-sitter is
locating its .wasm file and provide the Webpack-adjusted URL.
This commit is contained in:
Joel Spadin
2023-04-23 16:55:01 -05:00
committed by Pete Johanson
parent c6bf95a901
commit dae020787e
5 changed files with 22 additions and 39 deletions

View File

@@ -28,7 +28,7 @@
"react-copy-to-clipboard": "^5.0.3",
"react-dom": "^17.0.2",
"react-toastify": "^7.0.4",
"web-tree-sitter": "^0.19.4"
"web-tree-sitter": "^0.20.8"
},
"browserslist": {
"production": [