Stylecow v7.1.0 Release Notes
Release Date: 2015-11-17 // over 8 years ago-
- 💅 Updated stylecow-core to 2.2.x
- ➕ Added glob support. For example:
{ "files": [{ "input": "styles/*.css", "output": "dist/[name].min.css" }] }
The available replacement cards are
[name]
,[dir]
,[ext]
and[base]
, and the values returned are the same than path.parse().- The
map
config value is global instead specific for each file. For example: Before:
{ "files": [ { "input": "styles/style.css", "output": "dist/style.min.css", "map": "dist/style.min.map" } ] }
Now:
{ "files": [ { "input": "styles/style.css", "output": "dist/style.min.css" } ], "map": "file" }
The available options are
file
(to generate a file with .map extension),embed
,none
andauto
(by default). The map value for each file was keept for backward compatibility.