ant-design / ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
https://pro.ant.design
MIT License
36.35k stars 8.14k forks source link

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

Closed aladdin-add closed 5 years ago

aladdin-add commented 5 years ago
// package.json
{
  "version": "2.1.0",
  "devDependencies": {
      "umi": "^2.2.4",
}

执行 npm i && npm run start

> cross-env APP_TYPE=site umi dev

[umi-plugin-dll] File list is equal, don't generate the dll file.
(node:96916) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
Starting the development server...
chenshuai2144 commented 5 years ago

不会影响正常功能,耐心等待 umi 新版本

shaolei commented 5 years ago

@chenshuai2144 我在docker里RUN npm run build一直报这个错,换各种版本node都不行,
执行npm i -D extract-text-webpack-plugin@next也不行
线上都没发部署,新版本啥时候出?哪个版本能解决这个问题?

aladdin-add commented 5 years ago

@shaolei 这个只是警告,应该不影响功能的。你的可能是其它原因。

jack-hate-titanic commented 5 years ago

样式都出不来了