summaryrefslogtreecommitdiff
path: root/client/build.js
diff options
context:
space:
mode:
authorMichael Serajnik <ms@mserajnik.at>2018-08-05 02:58:59 +0200
committerMarcin Kurczewski <rr-@sakuya.pl>2018-08-06 14:12:29 +0200
commitb22c887e4b7ebc3c11d72f2ce9e8086403616c46 (patch)
tree31b57209f98e5bb84ae089c6a33ff9bdb862a140 /client/build.js
parent45b6df020a49815a941a412dac4247ce66188fa2 (diff)
client: add basic web app support
Diffstat (limited to 'client/build.js')
-rw-r--r--client/build.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/build.js b/client/build.js
index e551384..dd72573 100644
--- a/client/build.js
+++ b/client/build.js
@@ -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();
}