Skip to content

Commit 966bfd8

Browse files
committed
🐛 Fix: unregisterPlugin's bug
1 parent 444a42f commit 966bfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/PluginLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class PluginLoader {
8787
this.ctx.helper.beforeTransformPlugins.unregister(name)
8888
this.ctx.helper.beforeUploadPlugins.unregister(name)
8989
this.ctx.helper.afterUploadPlugins.unregister(name)
90-
this.ctx.removeConfig('picgoPlugin', name)
90+
this.ctx.removeConfig('picgoPlugins', name)
9191
}
9292

9393
// get plugin by name

0 commit comments

Comments
 (0)