Why is dist directory in source control?
See original GitHub issueGenerally, build artifacts should not be checked in to source control. This includes the dist directory in your repo. Out of curiosity, why did you decide to check this in? You can use the “releases” feature of Github to upload .zip files for people that don’t want to use the npm package.
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
What is the meaning of the /dist directory in open source ...
The shortform dist stands for distributable and refers to a directory where files will be stored that can be directly used by others...
Read more >What is the role of src and dist folders in JavaScript/jQuery
The /dist stands for distributable. · The /dist folder contains the minimized version of the source code. · The code present in the...
Read more >Do I include my dist folder when I upload to my github repo?
We usually don't include the .dist files in our internal source control this helps cut down on merge conflicts and bloat from compiled...
Read more >the meaning of the /dist directory in open source projects
/dist means "distributable", the compiled code/library. Folder structure varies by build system and programming language. Here are some standard conventions:.
Read more >Node: How to handle your dist files | by Ikechi Michael - Medium
No, we shouldn't! Never add generated files to source control. Go to your .gitignore file and be sure to ignore those generated files,...
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

Ahh. That sucks 😦
Bower is silly for requiring that. It would be nice to drop
distand Bower one day.You don’t need to have dist checked in to your repo to handle Bower. You could either have a separate repo (eg. https://github.com/daniel15/babel-standalone-bower), or use npmcdn (which can load modules from NPM and package them so they work with Bower): https://npmcdn.com/
You can use NPM with ASP.NET Core projects with no issues. You can use a module bundler (such as Webpack or Browserify) and just make sure the resulting bundle is output to the
wwwrootdirectory.