• home > tools > Bundler > webpack >

    DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` inste

    Author:[email protected] Date:

    webpack4 x 测试,突然爆这个错误

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

    整了n次,总是找不到原因,

    顺手百度了下,大抵都不是什么解决方案,比如:https://blog.csdn.net/ssfz123/article/details/80008636

    webpack 打包出错

    实际毛用都木有

    然后去找google,发现 还是木有方法,比如:https://stackoverflow.com/questions/49942558/deprecationwarning-tapable-plugin-is-deprecated-use-new-api-on-hooks-instea

    webpack 打包出错

    我的这个工程比较大 ,https://github.com/zhoulujun/wepack4-react-project-template

    测试还么有去优化,所以也就只先等 大神解决了?如果哪位知道,请告知下,多谢!




    转载本站文章《 DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` inste》,
    请注明出处:https://www.zhoulujun.cn/html/tools/Bundler/webpack/2016_0217_6409.html