Including image styles in custom module I was following topic. I can including image style in my custom module. But I have a problem. I can't reinstall module because of following error:


  Unable to install Module ABC, image.style.black_white already exists
  in active configuration.


Can I include an image style in custom module with file config and maybe reinstall module?
Your problem is don't delete image style when uninstall module. So when you reinstall image style already exist. Use can use hook_uninstall to delete 
image style to finish uninstall: write code in file module_name.install

&lt;?php
use Drupal\image\Entity\ImageStyle;

function module_name_uninstall() {

  ImageStyle::load('image_style_name')-&gt;delete();

}