Skip to content

Commit

Permalink
meta: add custom plugin to handle symlinks (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Apr 10, 2024
1 parent 6730fbe commit 3e30cca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const config = {
],
},
],
'./src/plugins/custom.js',
],
scripts: [
{
Expand Down
14 changes: 14 additions & 0 deletions src/plugins/custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
'use strict';

module.exports = function (context, options) {
return {
name: 'custom-docusaurus-plugin',
configureWebpack(config, isServer, utils) {
return {
resolve: {
symlinks: false,
},
};
},
};
};

0 comments on commit 3e30cca

Please sign in to comment.