Problem/Motivation
When running npm run build, the build files which are getting generated are not mentioned in the .gitignore file and due to which those files are shown in the untracked files.
Steps to reproduce
Run npm run build and git status (This issue is only valid when using cloned version)
Proposed resolution
We should modify .gitignore so that developers are able to do a clean commit easily.
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ☐ Testing to ensure no regression
- ☐ Automated unit/functional testing coverage
- ☐ Developer Documentation support on feature change/addition
- ☐ User Guide Documentation support on feature change/addition
- ☐ Code review from 1 Drupal core team member
- ☐ Full testing and approval
- ☐ Credit contributors
- ☐ Review with the product owner
- ☐ Release
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3245954-2.patch | 227 bytes | gaurav.kapoor |
Comments
Comment #2
gaurav.kapoor commentedAdding a patch for this minor fix.
Comment #3
gaurav.kapoor commentedComment #4
gaurav.kapoor commentedAs discussed, in the Project Browser meeting, it may not be a good idea to add the files generated by the build process to .gitignore. If we do that, all those who install the module will have to run the build process. For now, developers can just ignore them and push them only if there are changes in the Svelte app.
Marking this as closed for now, but feel free to reopen if you think this can be handled in a better way.