Skip to content

Commit 8bae4aa

Browse files
justin808claude
andcommitted
Remove generated .res.js files from git and add to .gitignore
Generated ReScript files (.res.js, .res.mjs) are build artifacts that should not be committed to version control. They are automatically generated from .res source files during the build process. Changes: - Removed all .res.js files from git tracking - Added **/*.res.js and **/*.res.mjs to .gitignore - These files will be generated during yarn res:build Similar to how we ignore other build artifacts like: - **/generated/** (React on Rails generated packs) - /ssr-generated/ (SSR bundles) - /public/packs (Webpack/Rspack output) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b7171e5 commit 8bae4aa

File tree

15 files changed

+4
-874
lines changed

15 files changed

+4
-874
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,8 @@ client/app/bundles/comments/rescript/**/*.bs.js
6060
# Generated React on Rails packs
6161
**/generated/**
6262

63+
# Generated ReScript files (compiled from .res source files)
64+
**/*.res.js
65+
**/*.res.mjs
66+
6367
.claude/

client/app/bundles/comments/rescript/Actions/Actions.res.js

Lines changed: 0 additions & 62 deletions
This file was deleted.

client/app/bundles/comments/rescript/CommentForm/CommentForm.res.js

Lines changed: 0 additions & 215 deletions
This file was deleted.

client/app/bundles/comments/rescript/CommentForm/forms/HorizontalForm.res.js

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)