refactor(run.sh): optimize build artifact cleanup
- clean_frontend_artifacts: add .vite/.cache/.tmp/*.tsbuildinfo cleanup - clean_embed_static: rm -rf + mkdir handles dotfiles (was rm static/*) - new clean_all_artifacts: unified cleanup for all deployment modes - docker up/build/clean now call clean_all_artifacts before building - .dockerignore: exclude .vite/*.tsbuildinfo/node cache dirs - add ./run.sh clean standalone command
This commit is contained in:
1 parent
7ed4ce8d3a
commit
da01cbb119
2 files changed
+29
-1
No files matched your search
@@ -5,7 +5,14 @@
|
||||
# 前端构建产物和依赖(后端构建不需要)
|
||||
frontend/node_modules
|
||||
frontend/dist
|
||||
frontend/.vite
|
||||
frontend/.cache
|
||||
**/*.tsbuildinfo
|
||||
|
||||
# 前端 Vite 缓存
|
||||
frontend/node_modules/.vite
|
||||
frontend/node_modules/.cache
|
||||
frontend/node_modules/.tmp
|
||||
|
||||
# 日志
|
||||
**/*.log
|
||||
|
||||
Reference in new issue
Block a user