MiniCSS PostCSS Plugin
npm install @minicss/postcssMiniCSS PostCSS Plugin












- Installation
- Usage
- Options
- Benchmarks
- Versioning
- Authors
- License
``shell`
npm i @minicss/postcss
Create the postcss.config.js file:
`javascript`
module.exports = {
plugins: {
"@minicss/postcss": {},
},
};
| Name | Type | Default | Description |
|:-------------:|:-------:|:-------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| classes | boolean | true | Should the plugin rename css classes |true
| ids | boolean | | Should the plugin rename css ids |true
| keyframes | boolean | | Should the plugin rename css keyframes & animation names (in case of css animation, name should be either first parameter or last parameter if it starts with duration (a digit). if the name is a css variable then this won't work) |true
| variables | boolean | | Should the plugin rename css variables |
| outputMapFile | string | - | Where to write the output map to be used outside the plugin |
> * means the options is required.
First build the project:
`shell`
npm run build
Then run the command below:
`shell``
npm run benchmark
We use SemVer for versioning.
For the versions available, see the releases on this repository.
- Ardalan Amini - _Core Maintainer_ - @ardalanamini
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.