Email-builder / grunt-email-builder

Build Emails from HTML / CSS code in grunt
Other
94 stars 14 forks source link

Is there a way to have this target all html files in a directory rather then just one file? #17

Closed iDVB closed 10 years ago

iDVB commented 10 years ago
'dest/ouput.html' : 'src/input.html'

Would be nice if at least the inliner would allow multi-files.

jeremypeter commented 10 years ago

You can build the files list dynamically.

Simple example:

files : [{
  expand: true,
  src: ['**/*.html'],
  dest: 'dest/',
}]
iDVB commented 10 years ago

My mistake. Need to read up more on grunt I believe. Thanks for the help!

jeremypeter commented 10 years ago

No problem, glad to help

yargalot commented 10 years ago

I'll throw another line in the read me so people not so familiar with grunt can find it