diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js index d812e559d..8d7d4aaf9 100644 --- a/searx/static/themes/simple/gruntfile.js +++ b/searx/static/themes/simple/gruntfile.js @@ -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, diff --git a/searx/static/themes/simple/package-lock.json b/searx/static/themes/simple/package-lock.json index 240f58cd0..7b04eb191 100644 --- a/searx/static/themes/simple/package-lock.json +++ b/searx/static/themes/simple/package-lock.json @@ -25,7 +25,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", @@ -5790,19 +5789,6 @@ "source-map": "~0.6.0" } }, - "node_modules/less-plugin-clean-css": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/less-plugin-clean-css/-/less-plugin-clean-css-1.6.0.tgz", - "integrity": "sha512-jwXX6WlXT57OVCXa5oBJBaJq1b4s1BOKeEEoAL2UTeEitogQWfTcBbLT/vow9pl0N0MXV8Mb4KyhTGG0YbEKyQ==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "clean-css": "5.3.3" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/less/node_modules/make-dir": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", diff --git a/searx/static/themes/simple/package.json b/searx/static/themes/simple/package.json index b2ebd3087..a67fb9d09 100644 --- a/searx/static/themes/simple/package.json +++ b/searx/static/themes/simple/package.json @@ -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",