Urthen / case-sensitive-paths-webpack-plugin

Enforces case sensitive paths in Webpack requires.
MIT License
428 stars 45 forks source link

DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead #29

Closed dylang closed 6 years ago

dylang commented 6 years ago

Hi - great plugin!

Webpack 4 has changed some of the API's and now results in a deprecation warning. Just thought you'd like to know.

Thanks for the great work!

Urthen commented 6 years ago

Merged #31 and released 2.1.2 which should resolve this. Let me know if it doesn't as I don't actually have any projects using Webpack 4 right now, but Travis says it works 👍

nmschulte commented 6 years ago

v2.1.2 seems to resolve the issue for me. Thanks!

zhangwentao commented 6 years ago

It seems doesn't ok 1521170346561

Urthen commented 6 years ago

@zhangwentao Did you update this plugin to v2.1.2? Seems it has solved this issue for other users.

nmschulte commented 6 years ago

@zhangwentao also note that other plugins and codes may be using the deprecated API still, producing the warning.