Skip to content

Commit

Permalink
[fix] LESS sourcemaps broken in less-plugin-clean-css v1.6.0
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
return42 committed Jan 20, 2025
1 parent 073d954 commit 533c5c5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions searx/static/themes/simple/gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ module.exports = function (grunt) {
production: {
options: {
paths: ["less"],
plugins: [
new (require('less-plugin-clean-css'))()
],
sourceMap: true,
sourceMapURL: (name) => { const s = name.split('/'); return s[s.length - 1] + '.map'; },
outputSourceFiles: true,
Expand Down
14 changes: 0 additions & 14 deletions searx/static/themes/simple/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion searx/static/themes/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"grunt-xmlmin": "^0.1.8",
"ionicons": "^7.4.0",
"less": "^4.2.1",
"less-plugin-clean-css": "^1.6.0",
"sharp": "^0.33.5",
"stylelint": "^16.12.0",
"stylelint-config-standard": "^36.0.0",
Expand Down

0 comments on commit 533c5c5

Please sign in to comment.