-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
templates: ignore metafile.*
files
#7177
templates: ignore metafile.*
files
#7177
Conversation
|
node_modules | ||
|
||
/.cache | ||
/functions/\[\[path\]\].js | ||
/functions/\[\[path\]\].js.map | ||
/functions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don’t think this is a good option because it’ll ignore any Pages function that one adds to their project.
I think we can just ignore the necessary Remix generated files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By default there are no other functions except the generated ones
People can also always unignore certain files if they want to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that we should try to target only the Remix-generated functions in the gitignore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pcattori I assume only if we by default choose for another folder than build
(which is the default build folder)?
3a64944
to
7dbea36
Compare
3f68c0e
to
7489844
Compare
metafile.*
files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨
7489844
to
9ad03aa
Compare
I originally just wanted to ignore the
metafile.*
files, but since the entire build directory is generated I figured it would be better to ignore it entirely 🤷♂️Supersedes #7090