jezdez/django_compressor — Issue #178: Problem with COMPRESS_ENABLED 
Author: phzbox
Created: 2011-12-06 15:03:53+00:00
State: open

When DEBUG=True (And thus compress_enabled = False), this code:

```
{% compress js %}

{% endcompress %}
```

results in:

```

```

where `cat 25360383288e.js` is:

```
console.log("Hello world");
```
(I.e. there is no underscore.js neither backbone.js in the compiled code.)

However, if COMPRESS_ENABLED is TRUE, all there files are correctly compiled in the resulting js file.

Also, if I remove the

{% endcompress %}
{% compress js %}

{% endcompress %}
```

which works as expected. (I.e. 3 files when compress_enabled = False, and 2 files when compress_enabled=True)