Remove map files from build, relocate transpiled map files to $lib for cache improvements.

This commit is contained in:
2026-02-14 21:54:05 +00:00
parent 765923ca0a
commit 437ce6c3e0
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -3,6 +3,7 @@ node_modules
# Transpiled JSON
/static/mapFiles/json/
/static/map-index.json
/src/lib/assets/route/*.json
# Output
.output

View File

@@ -6,7 +6,7 @@ RUN npm ci
COPY . .
RUN node ./scripts/parse-maps.js
RUN rm -r ./static/mapFiles/yaml
RUN rm -r ./static/mapFiles
RUN npm run build
RUN npm prune --production