You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug]: Why is there a .gitkeep file in the dist folder generated by build? This conflicts with the .gitignore file generated by pnpm create rsbuild@latest
#4666
Closed
ltbyun opened this issue
Feb 27, 2025
· 1 comment
· Fixed by #4748
pnpm create rsbuild@latest --dir my-project --template react
cd my-project
pnpm i
pnpm run dev
The text was updated successfully, but these errors were encountered:
chenjiahan
changed the title
[Bug]: build生成的dist文件夹中, 为何有.gitkeep这个文件? 这与pnpm create rsbuild@latest生成的.gitignore是冲突的
[Bug]: Why is there a .gitkeep file in the dist folder generated by build? This conflicts with the .gitignore file generated by pnpm create rsbuild@latest
Feb 27, 2025
Version
Details
.gitignore中明确写了忽略dist/文件, 生成的dist文件夹中又有.gitkeep文件.
Reproduce link
https://codesandbox.io/p/github/rspack-contrib/rsbuild-codesandbox-example/main
Reproduce Steps
pnpm create rsbuild@latest --dir my-project --template react
cd my-project
pnpm i
pnpm run dev
The text was updated successfully, but these errors were encountered: