forked from MapComplete/MapComplete
Performance: load NSI when needed, should decrease bundle size
This commit is contained in:
parent
f476e61a8f
commit
d338eadac8
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=20000
|
||||
which vite
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue