From 437ce6c3e0d1fc1902c5c60e55fae68c3c350c25 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 14 Feb 2026 21:54:05 +0000 Subject: [PATCH] Remove map files from build, relocate transpiled map files to $lib for cache improvements. --- .gitignore | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 875ef67..491ddde 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules # Transpiled JSON /static/mapFiles/json/ /static/map-index.json +/src/lib/assets/route/*.json # Output .output diff --git a/Dockerfile b/Dockerfile index ee9a08a..55bcbf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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