Open ercpe opened 1 year ago
Hi, I finally had time to look at it, sorry for the delay. There's a nested template string occuring before, which contains double quotes:
return`${c}://${u}${n&&i?`:${i}`:""}@${e}${s?`:${s}`:""}/${r?`${r}/`:r}${o}`
This is where it runs out of sync. Unfortunately rjsmin does not support template strings properly at the moment :-(
We're using rjsmin through django-compressor and noticed that the output is truncated at
//
within a string literal in an already minified input.The input is the Sentry JS SDK browser bundle, e.g. https://browser.sentry-cdn.com/7.60.0/bundle.min.js In this case, we run multiple sentry-related files through django-compressor to create a single bundle, not to actually minify the files.
When run through rjsmin, the output is truncated:
The occurence in the input file is: