Behavior:
Zip folder desired folder using .gitignore directives.
Ex of desired folder:
- /node_modules/
- /.git/
- .gitignore
- index.html
- orther.rar
- something_should_not_be_here.zip
- style.css
Ex of .gitignore:
*.zip
*.rar
/node_modules/
Example of zipped file:
// Could be a .distignore too
Resolution:
Add an option/flag to make it possible.
Real world example using tar:
tar -czvf build.tar.gz -X ./desired_folder_to_bundle/.distignore ./desired_folder_to_bundle
Thanks for this amazing work, this enhancement will be very useful.
Behavior:
Zip folder desired folder using .gitignore directives.
Ex of desired folder:
Ex of .gitignore:
*.zip
*.rar
/node_modules/
Example of zipped file:
// Could be a .distignore too
Resolution:
Add an option/flag to make it possible.
Real world example using tar:
tar -czvf build.tar.gz -X ./desired_folder_to_bundle/.distignore ./desired_folder_to_bundle
Thanks for this amazing work, this enhancement will be very useful.