chore(gitignore): 更新忽略规则,仅忽略各工程带hash的构建产物资源
调整前端及其他工程的git忽略配置,不再忽略index.html文件,仅忽略assets目录下的hash命名构建产物,适配go:embed嵌入需求
This commit is contained in:
@@ -22,6 +22,9 @@ vendor/
|
|||||||
frontend/dist/
|
frontend/dist/
|
||||||
frontend/public/
|
frontend/public/
|
||||||
frontend/node_modules/
|
frontend/node_modules/
|
||||||
|
# 各工程 vite 构建产物:只忽略 hash 命名的 assets,保留 index.html 供 go:embed
|
||||||
|
/**/public/assets/
|
||||||
|
/**/web/static/assets/
|
||||||
hbuilderx/
|
hbuilderx/
|
||||||
unpackage/
|
unpackage/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user