Closed dominikwilkowski closed 9 years ago
ha ha thanks for this issue, i was thinking i was not finding the flatten opt, mainly cause there isn't one :)
Does the flatten option not work? http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically
yeah thanks I didn't realise you had to have expand: true,
set for this to work.
Cheers
Hey there,
I am looking to move from grunt-includes to you package but have come across one issue I may not be able to fix. In grunt-includes you have a
flatten
option that ignores the folder structure of the processed HTML files and starts with that folder. That way my folder with unprocessed HTML files can be rendered and go into aPROD
folder.I have my unprocessed files in
whatever/folder/index.html
Currently I getPROD/whatever/folder/index.html
What I want is:PROD/index.html
and every respective file with folders so: My unprocessed files in
whatever/folder/sub/index.html
Currently I getPROD/whatever/folder/sub/index.html
What I want is:PROD/sub/index.html
What do you think?