front/general: add favicon

This commit is contained in:
rr-
2016-03-30 16:06:51 +02:00
parent 55c5363edc
commit 7a07cc7bf7
3 changed files with 9 additions and 3 deletions

View File

@ -95,8 +95,13 @@ function bundleConfig(config) {
'./static/js/.config.autogen.json', JSON.stringify(config));
}
function copyFile(source, target) {
fs.createReadStream(source).pipe(fs.createWriteStream(target));
}
const config = getConfig();
bundleConfig(config);
bundleHtml(config);
bundleCss();
bundleJs();
copyFile('static/favicon.png', 'public/favicon.png');