diff options
author | Peter Johanson <peter@peterjohanson.com> | 2021-06-09 01:50:50 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-06-09 10:12:06 -0400 |
commit | 7323f78a37467e7144eb6414ef2296de050a45fd (patch) | |
tree | 979890f5dabc5b67ff7d28c37d63e5f061d5d100 /docs/src/docusaurus-tree-sitter-plugin | |
parent | e8b42221cfe30b47a1962b5fbce1e500ccb7cafa (diff) |
fix(docs): Upgrade docusaurus, webpack/loaders.
Upgrade to the new Docusaurus 2 beta release, which also required
upgrades to newer Webpack@5, and some API fixes for TOC changes.
Diffstat (limited to 'docs/src/docusaurus-tree-sitter-plugin')
-rw-r--r-- | docs/src/docusaurus-tree-sitter-plugin/index.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/src/docusaurus-tree-sitter-plugin/index.js b/docs/src/docusaurus-tree-sitter-plugin/index.js index 7803a9e..da9809d 100644 --- a/docs/src/docusaurus-tree-sitter-plugin/index.js +++ b/docs/src/docusaurus-tree-sitter-plugin/index.js @@ -29,8 +29,11 @@ module.exports = function () { return { // web-tree-sitter tries to import "fs", which can be ignored. // https://github.com/tree-sitter/tree-sitter/issues/466 - node: { - fs: "empty", + resolve: { + fallback: { + fs: false, + path: false, + }, }, module: { rules }, }; |