mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client: add basic web app support
This commit is contained in:
committed by
Marcin Kurczewski
parent
45b6df020a
commit
b22c887e4b
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user