PostCSS Strip Selectors PostCSS plugin to remove specified selectors from your stylesheets. .foo { /* Input example */ } .foo { /* Output example */ } Usage postcss([ require('postcss-strip-selectors') ]) See PostCSS docs for examples for your environment.