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

This commit is contained in:
fred.boniface committed 2026-02-14 21:54:05 +00:00
1 parent 765923ca0a
commit 437ce6c3e0
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ node_modules
# Transpiled JSON
/static/mapFiles/json/
/static/map-index.json
/src/lib/assets/route/*.json
# Output
.output
+1 -1
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