Closed lombardi-gux closed 10 years ago
Grunt flattens the entire paths and leaves only filenames. Thus, if you have a path tmp/styles/inner/file.css
, it will be tmp/styles/file.css
when your dest is tmp/styles/
or just file.css
when you omit the dest
param.
To make it work, just remove expand
, flatten
and dest
.
I have a project, with a structure of
I am running a LESS task which builds 2 css files to
/tmp/styles
I then have an autoprefixer task
This works. However, if I omit the
dest
line, it writes one of my CSS files to the project root. Not the map file, and only thelive_preview.css
file.I thought omitting that param would just write the processed css back on top of the old css files?