storage: Remove RemoveUnminifiedFilesMixin.

This can be done much more easily with the right options to
collectstatic.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2019-07-02 17:18:44 -07:00
committed by Tim Abbott
parent f47f98e2f1
commit b0a30aa01a
2 changed files with 2 additions and 25 deletions

View File

@@ -57,7 +57,7 @@ run(['./tools/webpack'], stdout=fp, stderr=fp)
# Collect the files that we're going to serve; this creates prod-static/serve.
run(['./manage.py', 'collectstatic', '--no-default-ignore',
'--noinput', '-i', 'assets', '-i', 'styles', '-i', 'templates'],
'--noinput', '-i', 'assets', '-i', 'js', '-i', 'styles', '-i', 'templates'],
stdout=fp, stderr=fp)
if not settings.PRODUCTION: