mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-19 19:22:28 +02:00
feat(core): allow plugin lifecycles to return relative paths (#6921)
* feat(core): resolve plugin lifecycles returning relative paths * fix typo * fix tests * revert * rename path -> entryPath
This commit is contained in:
parent
8d1c1954c1
commit
68aaf9201f
26 changed files with 100 additions and 68 deletions
|
@ -146,7 +146,7 @@ async function ChangelogPlugin(context, options) {
|
|||
return config;
|
||||
},
|
||||
getThemePath() {
|
||||
return path.join(__dirname, './theme');
|
||||
return './theme';
|
||||
},
|
||||
getPathsToWatch() {
|
||||
// Don't watch the generated dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue