Update the URL pointers for the manifest creation
This commit is contained in:
parent
088b8c6f5d
commit
786bd68c35
2 changed files with 18 additions and 7 deletions
|
|
@ -21,6 +21,9 @@ try {
|
|||
process.exit(1);
|
||||
};
|
||||
|
||||
// Update download / manifest URLs
|
||||
manifest.download = DOWNLOAD_URL;
|
||||
manifest.manifest = LATEST_URL;
|
||||
|
||||
// Filter out dev-only resources
|
||||
if (manifest.esmodules) {
|
||||
|
|
@ -31,7 +34,6 @@ if (manifest.esmodules) {
|
|||
|
||||
// Remove dev flags
|
||||
delete manifest.flags?.hotReload;
|
||||
|
||||
if (Object.keys(manifest.flags).length === 0) {
|
||||
delete manifest.flags;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue