Skip to content

lamualfa/postcss-minion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.