webpack / tapable

Just a little module for plugins.
MIT License
3.71k stars 393 forks source link

add taps type to hook class #161

Closed chengcyber closed 2 years ago

chengcyber commented 2 years ago

Summary

Add taps type to hook class, make the following code works

const appliedPluginNames: Set<string> = new Set<string>(pluginHook.taps.map(x => x.name));

which also fixes https://github.com/webpack/tapable/issues/152

linux-foundation-easycla[bot] commented 2 years ago

CLA Signed

The committers are authorized under a signed CLA.