Skip to content
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

feat: [MarginFrontend] Fix linter & build #694

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

enyinnaya1234
Copy link
Contributor

add build folder to git ignore

close-#685

@enyinnaya1234
Copy link
Contributor Author

@djeck1432 pls review.
added the build folder to git ignore

@whateverfw whateverfw self-requested a review March 2, 2025 12:10
Copy link
Collaborator

@whateverfw whateverfw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again, that's incorrect. build files should not be commited as a part of root folder..
It is fine that you gitignored /dist, however
I don't want to see .js and d.ts files in your PR.
You should make sure that everything is built into that folder and not commited outside.

@enyinnaya1234
Copy link
Contributor Author

@djeck1432 , pls review boss

Copy link
Collaborator

@whateverfw whateverfw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't need to gitignore any of these files, only dist folder
you just need to remove them and make sure they are built into dist.

Comment on lines +190 to +203
/**/*.js
/**/*.js.map
/**/*.d.ts

# But don't ignore JavaScript in specific places
!/webpack.config.js
!/jest.config.js
# (add any other JS files that should be kept)

# Keep the dist folder ignored
/dist

# TypeScript incremental compilation cache
*.tsbuildinfo
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's incorrect...

Comment on lines +207 to +216
*.js
*.d.ts
*.js.map
*.d.ts.map
/components/*.js
/components/*.d.ts
/components/*.js.map
# Except specific JS files that should be committed
!vite.config.js
!vitest.config.js
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, you should never do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants