Skip to content

Commit 533c5c5

Browse files
committed
[fix] LESS sourcemaps broken in less-plugin-clean-css v1.6.0
The ``less-plugin-clean-css`` lacks some maintenance: the sourcemaps are broken since v1.6.0 (08/2024) [1] - [1] less/less-plugin-clean-css#42 Closes: searxng#4143 Signed-off-by: Markus Heiser <[email protected]>
1 parent 073d954 commit 533c5c5

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

searx/static/themes/simple/gruntfile.js

-3
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,6 @@ module.exports = function (grunt) {
119119
production: {
120120
options: {
121121
paths: ["less"],
122-
plugins: [
123-
new (require('less-plugin-clean-css'))()
124-
],
125122
sourceMap: true,
126123
sourceMapURL: (name) => { const s = name.split('/'); return s[s.length - 1] + '.map'; },
127124
outputSourceFiles: true,

searx/static/themes/simple/package-lock.json

-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

searx/static/themes/simple/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"grunt-xmlmin": "^0.1.8",
1515
"ionicons": "^7.4.0",
1616
"less": "^4.2.1",
17-
"less-plugin-clean-css": "^1.6.0",
1817
"sharp": "^0.33.5",
1918
"stylelint": "^16.12.0",
2019
"stylelint-config-standard": "^36.0.0",

0 commit comments

Comments
 (0)