diff options
| author | Ruin0x11 <ipickering2@gmail.com> | 2020-05-04 14:44:16 -0700 |
|---|---|---|
| committer | Ruin0x11 <ipickering2@gmail.com> | 2020-05-04 14:44:16 -0700 |
| commit | ffba010ae4b6efebd791a077125df92ef57274d0 (patch) | |
| tree | ab7f420268d1143e4b440ccea1b4759ec28574f7 /client/build.js | |
| parent | 8795279a73e976a3aadbb4b9067209a46f138733 (diff) | |
Implement updating pools of a post from details sidebar
Diffstat (limited to 'client/build.js')
| -rwxr-xr-x | client/build.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/client/build.js b/client/build.js index 44d8c01..19c7aeb 100755 --- a/client/build.js +++ b/client/build.js @@ -35,7 +35,7 @@ const app_manifest = { src: baseUrl() + 'img/android-chrome-192x192.png', type: 'image/png', sizes: '192x192' - }, + }, { src: baseUrl() + 'img/android-chrome-512x512.png', type: 'image/png', @@ -301,8 +301,12 @@ function makeOutputDirs() { makeOutputDirs(); bundleConfig(); -bundleBinaryAssets(); -bundleWebAppFiles(); +if (!process.argv.includes('--no-binary-assets')) { + bundleBinaryAssets(); +} +if (!process.argv.includes('--no-web-app-files')) { + bundleWebAppFiles(); +} if (!process.argv.includes('--no-html')) { bundleHtml(); } |