mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-24 22:46:57 +02:00
fix(v2): Consistently use require.resolve in official plugins to resolve modules (#2797)
* fix(v2): Use require.resolve to resolve loaders in official plugins * Use require.resolve to resolve client modules
This commit is contained in:
parent
78136e77a2
commit
705f8f3c51
5 changed files with 8 additions and 8 deletions
|
@ -14,7 +14,7 @@ module.exports = function () {
|
|||
return path.resolve(__dirname, './theme');
|
||||
},
|
||||
getClientModules() {
|
||||
return ['bootstrap/dist/css/bootstrap.min.css'];
|
||||
return [require.resolve('bootstrap/dist/css/bootstrap.min.css')];
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue