[Documentation] Copy over css, png files

...in addition to .html files. MissionControl/vista#21
This commit is contained in:
Victor Woeltjen 2015-08-03 12:49:35 -07:00
parent ff5e7486bc
commit ae7fc27c9e

View File

@ -108,8 +108,8 @@ GLOBAL.window = GLOBAL.window || GLOBAL; // nomnoml expects window to be define
});
});
// Also copy over all HTML files
glob(options['in'] + "/**/*.html", {}, function (err, files) {
// Also copy over all HTML, CSS, or PNG files
glob(options['in'] + "/**/*.@(html|css|png)", {}, function (err, files) {
files.forEach(function (file) {
var destination = file.replace(options['in'], options.out),
destPath = path.dirname(destination);