react-selectize icon indicating copy to clipboard operation
react-selectize copied to clipboard

webpack css loader warnings with 'dispaly: box'

Open choyongjoon opened this issue 9 years ago • 3 comments
trafficstars

I've got this warning. I'm currently using cssnano with the postcss loader.

WARNING in ./~/css-loader?sourceMap&-minimize&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!./~/postcss-loader!./~/sass-loader?sourceMap!./src/styles/core.scss
autoprefixer: /my/project/path/node_modules/react-selectize/themes/index.css:17:2: You should write display: flex by final spec instead of display: box

choyongjoon avatar Apr 26 '16 02:04 choyongjoon

It seems that the fix for this is to delete several lines from themes/index.css. Every place these lines appear:

display: box;
display: flex;

delete the line containing display: box;. After I did that, all the warnings disappeared.

mvolkmann avatar Dec 08 '16 22:12 mvolkmann

Is there a more permanent fix? or settings that I can disable the check.

joevo2 avatar Jul 10 '17 02:07 joevo2

i have the same problem

3Spiders avatar Mar 08 '19 08:03 3Spiders