forked from MapComplete/MapComplete
		
	Performance: load NSI when needed, should decrease bundle size
This commit is contained in:
		
							parent
							
								
									4fcdd8ba5a
								
							
						
					
					
						commit
						a79557c87c
					
				
					 7 changed files with 122 additions and 76 deletions
				
			
		|  | @ -24,6 +24,8 @@ else | |||
|   exit 1 | ||||
| fi | ||||
| 
 | ||||
| cp node_modules/name-suggestion-index/dist/nsi.json public/assets/data/nsi | ||||
| cp node_modules/name-suggestion-index/dist/wikidata.min.json public/assets/data/nsi | ||||
| 
 | ||||
| export NODE_OPTIONS=--max-old-space-size=16000 | ||||
| which vite | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue