react-selectize
react-selectize copied to clipboard
webpack css loader warnings with 'dispaly: box'
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
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.
Is there a more permanent fix? or settings that I can disable the check.
i have the same problem