Don't bundle the imagery anymore, fetch from dist/data at runtime

(re: #4994)
This commit is contained in:
Bryan Housel
2020-01-30 17:09:59 -05:00
parent 9131514722
commit 6e5cb45c17
10 changed files with 84878 additions and 84829 deletions
+2 -1
View File
@@ -168,4 +168,5 @@ sources.concat(keep).forEach(source => {
imagery.sort((a, b) => a.name.localeCompare(b.name));
fs.writeFileSync('data/imagery.json', prettyStringify({ dataImagery: imagery }));
fs.writeFileSync('data/imagery.json', prettyStringify(imagery));
fs.writeFileSync('dist/data/imagery.min.json', JSON.stringify(imagery));