Don't bundle the community index anymore, fetch from CDN instead

Start fetching and preparing it just before the changeset gets sent
This commit is contained in:
Bryan Housel
2020-01-29 15:24:26 -05:00
parent b8a8927d33
commit fb4d658860
4 changed files with 60 additions and 51 deletions
+2
View File
@@ -16,6 +16,8 @@ export function coreData(context) {
'intro_graph': 'data/intro_graph.min.json',
'languages': 'data/languages.min.json',
'locales': 'data/locales.min.json',
'oci_features': 'https://cdn.jsdelivr.net/npm/osm-community-index@2/dist/features.min.json',
'oci_resources': 'https://cdn.jsdelivr.net/npm/osm-community-index@2/dist/resources.min.json',
'phone_formats': 'data/phone_formats.min.json',
'shortcuts': 'data/shortcuts.min.json',
'territory_languages': 'data/territory_languages.min.json',