mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-01 03:48:04 +00:00
Don't apply js minification to webpack generated files
This commit is contained in:
parent
361a06e5b3
commit
9609a7615b
@ -66,7 +66,10 @@ class JS:
|
||||
@staticmethod
|
||||
def minify():
|
||||
to_exec = [
|
||||
p for p in settings.STATIC_ROOT.rglob("*.js") if ".min" not in p.suffixes
|
||||
p
|
||||
for p in settings.STATIC_ROOT.rglob("*.js")
|
||||
if ".min" not in p.suffixes
|
||||
and (settings.STATIC_ROOT / "webpack") not in p.parents
|
||||
]
|
||||
for path in to_exec:
|
||||
p = path.resolve()
|
||||
|
Loading…
Reference in New Issue
Block a user