server icon indicating copy to clipboard operation
server copied to clipboard

JavaScript compressor issue

Open maxwelld90 opened this issue 3 years ago • 1 comments

Case in point: when we attempt to include react-plotly.js (which spits out huge output files!), and try and compress the JavaScript with compressor.filters.jsmin.JSMinFilter and compressor.filters.jsmin.CalmjsFilter, compression fails. When we remove compressor.filters.jsmin.CalmjsFilter, it compiles (allegedly having compressed things down), but does not work in the browser. The compression is not working correctly in some instances.

So is there a configuration issue with the compressor, or do we just need to find a new compressor?

Look for COMPRESS_JS_FILTERS in worker/worker/settings/base.py.

maxwelld90 avatar May 26 '21 14:05 maxwelld90