diff --git a/docusaurus.config.js b/docusaurus.config.js index 1999f3206..9b2324e9f 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -82,6 +82,7 @@ const config = { ], }, ], + './src/plugins/custom.js', ], scripts: [ { diff --git a/src/plugins/custom.js b/src/plugins/custom.js new file mode 100644 index 000000000..a3ed55245 --- /dev/null +++ b/src/plugins/custom.js @@ -0,0 +1,14 @@ +'use strict'; + +module.exports = function (context, options) { + return { + name: 'custom-docusaurus-plugin', + configureWebpack(config, isServer, utils) { + return { + resolve: { + symlinks: false, + }, + }; + }, + }; +};