Silvestr-b / postcss-extract-bemclasses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PostCSS Extract BEMClasses Build Status

PostCSS This plugin extaract CSS classes from file and create JSON file where write all unique classes with unique identificators

Usage

const plugin = require('postcss-extract-bemclasses').default;
const options = {
	output: 'path/to/file.json' // it`s optional
}

postcss([ plugin(options) ])

See PostCSS docs for examples for your environment.

About

License:MIT License


Languages

Language:JavaScript 100.0%