docusaurus-plugin-remote-content
docusaurus-plugin-remote-content copied to clipboard
Fast Refresh infinite loop
localhost keeps hot reloading even though no changes are made
docusaurus.config.js
[
"docusaurus-plugin-remote-content",
{
name: "some-name-readme",
sourceBaseUrl: "https://someurl.com/file.md",
outDir: "docs/xyz/",
documents: ["README.md"],
modifyContent(filename, content) {
if (filename.includes("README")) {
return { content: "# some title \n\n #" + content }
}
return undefined
},
},
],