DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` inste
Author:[email protected] Date:
DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
整了n次,总是找不到原因,
顺手百度了下,大抵都不是什么解决方案,比如:https://blog.csdn.net/ssfz123/article/details/80008636
实际毛用都木有
然后去找google,发现 还是木有方法,比如:https://stackoverflow.com/questions/49942558/deprecationwarning-tapable-plugin-is-deprecated-use-new-api-on-hooks-instea
我的这个工程比较大 ,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
延伸阅读:
- webpack4循环依赖:UnhandledPromiseRejectionWarning: Error: Cyclic dependency
- webpack抽离css,mini-css-extract-plugin Conflicting order
- webpack打包之文件Gzip压缩与Brotli压缩配置
- webpack4.x 与react-router2.x冲突,报错
- webpack4.x 升级react-router v4 发现history 冲突
- Can't resolve 'react-dom/lib/ReactTestUtils' in 'react-addons-test-utils'
- webpack外网访问设置—webpack-dev-server配置及跨域解决
- webpack编译sass,缺少vendor, node-sass报 vendor错误
- webpack css背景图片无法现实,图片路径404
- webpack scripts copyfiles copy图片至dist目录
- webpack一直报Invalid Host header
- webpack执行终端shell命令操作系统:webpack-shell-plugin
- babel-polyfill配置:ReferenceError: regeneratorRuntime is not defined
- vue-cli导出webpack配置给webstorm/intellij,从而智能提示
- UglifyJs配合webpack打包报Unexpected token: keyword const
- webpack+eslint全局变量设置
- TS1259+TS6142: Module can only be default-imported using the 'esModuleInterop
- dart-sass替代node-sass区别:fix Node Sass一切问题(系统不支持/gyp
- webpack配置devServer配置https代理与证书
- webpack打包发布npm包优化-vue/echarts等公共库抽离
- webpack打包npm组件库,libraryTarget如何选择?