miracle2k / webassets

Asset management for Python web development.
BSD 2-Clause "Simplified" License
921 stars 258 forks source link

Closure: ReferenceError: $jscomp is not defined #534

Open Dreamsorcerer opened 4 years ago

Dreamsorcerer commented 4 years ago

When using the closure_js filter, the resulting JS just throws this error: ReferenceError: $jscomp is not defined

As this appear to be the only JS filter that is still maintained, any help getting this working would be great.

A bug report upstream suggests that using SIMPLE_OPTIMIZATIONS instead of WHITESPACE_ONLY may fix the issue. However, this either doesn't work or I have failed to change the setting (although I've tried several different methods).