[mod] oscar: fix the sourcemap URL in *.min.css

Close https://github.com/searx/searx/issues/2670

Note: clean-css contains a bug:
* a multiline comment or URL adds "$stdin" to the sourcemap (see src/less/logicodev/search.less)
* in this case when the user opens the devtools, the browser fails to load this "https://.../$stdin" URL
* it is not a problem and the error appears only when the user actively tries to debug the CSS.
* seems related to https://github.com/jakubpawlowicz/clean-css/issues/593
This commit is contained in:
Alexandre Flament 2021-03-21 17:59:11 +01:00
parent a48ec0b4bd
commit 6bd01bf81f
15 changed files with 22 additions and 45 deletions

File diff suppressed because one or more lines are too long