Closed Romkond closed 8 years ago
processhtml: { build: { files: { 'dist/home.htm' : ['new_home.htm'] } } }
the files directive is output: [input]
so if your files are IN the dist
dir, you should give grunt this way:
processhtml: { build: { files: { 'some_other_folder/home.htm' : ['dist/new_home.htm'] } } }
Oh... Yes, I inverted the syntax. Thank you.
Hi. I've got my .htm files in dist directory. Gruntfile chunk is:
processhtml: { build: { files: { 'dist/home.htm' : ['new_home.htm'] } } },
Home.htm isI run grunt processhtml and get
but there's no new_home.htm anywhere. WTH? Thanx.