Files
lionwebsite-frontend-desktop/.gitignore
T
root 24b9b244b7 补构建配置并新增 .gitignore:线上依赖的 base 与固定产物名入库
vite.config.js:加 base:'/asserts/index/'、assetsDir:''、固定产物名
(entryFileNames:'index.js' 等)。当前线上 /var/www/lionwebsite/asserts/index/
的 index.js/index.css/index.html 均依赖此配置才能构建出来——属线上在用
但未入库的配置,不提交会导致 clone 后构建产物路径与线上不一致;
index.html:favicon 改为 /asserts/favicon.ico(与线上入口一致);
llm_readme.md:补文件末尾换行;
新增 .gitignore(npm 模板 + run.out):忽略 node_modules、dist、日志与编辑器文件。
2026-09-14 15:39:07 +08:00

30 lines
310 B
Plaintext

# Logs
logs
*.log
run.out
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
.DS_Store
dist
dist-ssr
coverage
*.local
/cypress/videos/
/cypress/screenshots/
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?