UNPKG

@sequencemedia/css-purge

Version:

A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS.

11 lines (10 loc) 314 B
export default function hasPropertyBackground ({ property }) { return ( property === 'background-color' || property === 'background-image' || property === 'background-repeat' || property === 'background-attachment' || property === 'background-position' || property === 'background' ) }