forked from kofal.net/zmk
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.
This commit is contained in:
committed by
Pete Johanson
parent
e8b42221cf
commit
7323f78a37
@@ -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 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user