We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69eb721 commit 5bd96dfCopy full SHA for 5bd96df
1 file changed
docs/05-plugin-development.md
@@ -1277,7 +1277,7 @@ function dependentPlugin() {
1277
name: 'dependent',
1278
buildStart({ plugins }) {
1279
const parentName = 'parent';
1280
- const parentPlugin = options.plugins.find(plugin => plugin.name === parentName);
+ const parentPlugin = plugins.find(plugin => plugin.name === parentName);
1281
if (!parentPlugin) {
1282
// or handle this silently if it is optional
1283
throw new Error(`This plugin depends on the "${parentName}" plugin.`);
0 commit comments