Minify CSS
- Since:
- 1.0.0
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
stylesheet | string | A raw stylesheet |
Returns:
- Type:
string
The minified stylesheet
Example
// In an Eleventy template
`${this.minifyCSS(this.fileToString('css/inline.css'))}`
Minify CSS
Name | Type | Description |
---|---|---|
stylesheet | string | A raw stylesheet |
string
The minified stylesheet
// In an Eleventy template
`${this.minifyCSS(this.fileToString('css/inline.css'))}`