client: add basic web app support

This commit is contained in:
Michael Serajnik
2018-08-05 02:58:59 +02:00
committed by Marcin Kurczewski
parent 45b6df020a
commit b22c887e4b
15 changed files with 40 additions and 1 deletions

View File

@ -185,9 +185,14 @@ function bundleBinaryAssets() {
});
}
function bundleWebAppFiles() {
copyFile('./app/manifest.json', './public/manifest.json');
}
const config = getConfig();
bundleConfig(config);
bundleBinaryAssets();
bundleWebAppFiles();
if (!process.argv.includes('--no-html')) {
bundleHtml();
}