I'm trying to exclude some of the files and directories from static folder for collectstatic command.
static
-sample
-css
-dest
-vendor
index.css
I want to exclude the vendor directory and file index.css.
Tried following:
python manage.py collectstatic -i css/vendor -i css/*.css -i sample
It excluded the sample but not vendor directory and file index.css.
What could be the possible solution for this ?