From cf94dd4d1414e5d86f1acbc1f3fe0a94f6f167e0 Mon Sep 17 00:00:00 2001 From: mpoli Date: Wed, 29 Dec 2021 15:44:39 -0300 Subject: [PATCH] Add project.css and project.min.css to .gitignore (#3500) * Add project.css and project.min.css to .gitignore when js_task_runner == ' Gulp'. These files are generated automatically in this configuration and as such, mess up git commit periodically. * Add vendor.js and *.min.js to .gitignore More runtime generated files should be ignored to version control. Co-authored-by: Bruno Alla Co-authored-by: Bruno Alla --- {{cookiecutter.project_slug}}/.gitignore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/{{cookiecutter.project_slug}}/.gitignore b/{{cookiecutter.project_slug}}/.gitignore index 424c8cdc..d48356fa 100644 --- a/{{cookiecutter.project_slug}}/.gitignore +++ b/{{cookiecutter.project_slug}}/.gitignore @@ -337,3 +337,10 @@ MailHog {%- if cookiecutter.use_docker == 'y' %} .ipython/ {%- endif %} + +{%- if cookiecutter.js_task_runner == 'Gulp' %} +project.css +project.min.css +vendors.js +*.min.js +{%- endif %}