Remove map files from build, relocate transpiled map files to $lib for cache improvements.
This commit is contained in:
1 parent
765923ca0a
commit
437ce6c3e0
2 files changed
+2
-1
No files matched your search
@@ -3,6 +3,7 @@ node_modules
|
||||
# Transpiled JSON
|
||||
/static/mapFiles/json/
|
||||
/static/map-index.json
|
||||
/src/lib/assets/route/*.json
|
||||
|
||||
# Output
|
||||
.output
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user