diff options
| author | Michael Serajnik <ms@mserajnik.at> | 2018-08-05 02:58:59 +0200 |
|---|---|---|
| committer | Marcin Kurczewski <rr-@sakuya.pl> | 2018-08-06 14:12:29 +0200 |
| commit | b22c887e4b7ebc3c11d72f2ce9e8086403616c46 (patch) | |
| tree | 31b57209f98e5bb84ae089c6a33ff9bdb862a140 /client/build.js | |
| parent | 45b6df020a49815a941a412dac4247ce66188fa2 (diff) | |
client: add basic web app support
Diffstat (limited to 'client/build.js')
| -rw-r--r-- | client/build.js | 5 |
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(); } |