This uses the rollup virutal plugin to take the layer URL (formally WEB_PATH) from the (optional) environment variable NOMINATIM_QA_WEBPATH and inject it into the build process. This setup has the big advantage that it becomes a lot easier to switch between different QA tile servers (i.e. switching between my dev server and the official one).
I haven't rebuild the yarn.lock file because I'm on yarn 3.0 which seems to produce a completely different file. Furthermore I think that the json plugin can now be removed but I'm not entirely sure.
This uses the rollup virutal plugin to take the layer URL (formally
WEB_PATH
) from the (optional) environment variableNOMINATIM_QA_WEBPATH
and inject it into the build process. This setup has the big advantage that it becomes a lot easier to switch between different QA tile servers (i.e. switching between my dev server and the official one).I haven't rebuild the
yarn.lock
file because I'm on yarn 3.0 which seems to produce a completely different file. Furthermore I think that the json plugin can now be removed but I'm not entirely sure.