PostCSS Auto Set Imageset
PostCSS plugin Auto set css property of image-set to compat 2x or 3x.
You should use autoprefixer plugin to add image-set prefix. Such as down(in webpack).
// autoprefixer will add -webkit- prefix to image-set
input:
output:
Usage
See PostCSS docs for examples for your environment.