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:
Joshua Chen 2022-03-16 20:47:15 +08:00 committed by GitHub
parent 8d1c1954c1
commit 68aaf9201f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 100 additions and 68 deletions

View file

@ -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