The repo should not include `./dist` directory
See original GitHub issueWhile hacking into the code (npm run dev), every time the project is built, the ./dist files are generated.
almost (not every) every master commit includes the ./dist/ files, and with every git pull I get conflicts in dist/. Some are because the master commits include functionality in src that have not been built and my local builds them
So I’m forced to cherry-pick my functionality without dist into a rebased clean master every time i need to pull. It’s a pain.
Also, i see PR from collaborators with dist folders that probably will cause huge conflicts when not fully rebased, and owners including dist folder with their PRs
If the dist is excluded and only generated when publishing (to npm, docker, whatever), dev history maybe is easier
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
What is the meaning of the /dist directory in open source ...
To answer your question: /dist means "distributable", the compiled code/library. Folder structure varies by build system and programming ...
Read more >Unable to add library to repo because the `/dist` directory is ...
Problem I'm using this project in a Rails app that I've wired up to use Bower to manage dependencies and am deploying to...
Read more >Do I include my dist folder when I upload to my github repo?
Depends on the project. If it's a tool-like thing you'd include dist which would be intended to be the final product to use...
Read more >Why is the dist folder gitignored if it's required for the site to ...
The dist folder is .gitignore 'd in Sage because assets created by the build should not be included in your Git repository.
Read more >How to make your own npm package with typescript
Every package likely does it a bit differently, and it can be tricky to get a ... and output the compiled files to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Github releases can be created programmatically, so it’d be possible to add creating a zip and attaching that zip to the Github release to our build process.
Closing this, as we’ve since discontinued the modification of
/dist/outside of releases.