Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2分支 mini-css-extract-plugin 报警 #2090

Closed
tolerance-go opened this issue Aug 30, 2018 · 3 comments
Closed

v2分支 mini-css-extract-plugin 报警 #2090

tolerance-go opened this issue Aug 30, 2018 · 3 comments

Comments

@tolerance-go
Copy link
Contributor

拉取了最新的v2分支,运行之后报出很多警告

 warning

chunk vendors [mini-css-extract-plugin]
Conflicting order between:
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/dropdown/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/switch/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/pagination/style/index.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17-4!./src/components/PageHeaderWrapper/index.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17-4!./src/components/PageHeaderWrapper/GridContent.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17-4!./src/components/PageHeader/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/breadcrumb/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/skeleton/style/index.less

 warning

chunk vendors [mini-css-extract-plugin]
Conflicting order between:
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/badge/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/switch/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/pagination/style/index.less

 warning

chunk vendors [mini-css-extract-plugin]
Conflicting order between:
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/modal/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/pagination/style/index.less

 warning

chunk vendors [mini-css-extract-plugin]
Conflicting order between:
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/skeleton/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18-4!./node_modules/antd/es/pagination/style/index.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17-4!./src/components/Ellipsis/index.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17-4!./src/components/DescriptionList/index.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17-4!./src/components/Result/index.less

 ...
@ant-design-bot
Copy link

Translation of this issue:


v2分 mini-css-extract-plugin alarm

Pulled the latest v2 branch and reported a lot of warnings after running

 Warning

Chunk vendors [mini-css-extract-plugin]
Conflicting order between:
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/dropdown/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/switch/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/pagination/style/index.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17 -4!./src/components/PageHeaderWrapper/index.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17 -4!./src/components/PageHeaderWrapper/GridContent.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17 -4!./src/components/PageHeader/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/breadcrumb/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/skeleton/style/index.less

 Warning

Chunk vendors [mini-css-extract-plugin]
Conflicting order between:
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/badge/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/switch/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/pagination/style/index.less

 Warning

Chunk vendors [mini-css-extract-plugin]
Conflicting order between:
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/modal/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/pagination/style/index.less

 Warning

Chunk vendors [mini-css-extract-plugin]
Conflicting order between:
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/skeleton/style/index.less
 * css ./node_modules/css-loader??ref--18-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--18 -4!./node_modules/antd/es/pagination/style/index.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17 -4!./src/components/Ellipsis/index.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17 -4!./src/components/DescriptionList/index.less
 * css ./node_modules/css-loader??ref--17-2!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--17 -4!./src/components/Result/index.less

 ...

@chenshuai2144
Copy link
Collaborator

@quanru
Copy link

quanru commented Dec 18, 2018

有解决方法吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants