Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 994 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 994 Bytes

NPM Version Github License

postcss-minion

Use PostCSS as a Minion Extractor.

Usage

postcss.config.js

module.exports = {
  plugins: [
    require('postcss-minion')(options)
  ],
};

Options

classMapsFieldName : string

Field name that will be used to store the Class Maps in the global object. Default classMaps.

callback : (classMaps) => void

a function that will be called when Class Maps is finished to generated.

and other options from postcss-rename plugin

See PostCSS Plugin Rename Options for more informations.