summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/static/themes/simple/gruntfile.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js
index 0c322f37f..4c14116b2 100644
--- a/searx/static/themes/simple/gruntfile.js
+++ b/searx/static/themes/simple/gruntfile.js
@@ -68,11 +68,12 @@ module.exports = function(grunt) {
options: {
paths: ["less"],
plugins: [
- new (require('less-plugin-clean-css'))({
- advanced: true,
- compatibility: '*'
- })
+ new (require('less-plugin-clean-css'))()
],
+ sourceMap: true,
+ sourceMapURL: (name) => { const s = name.split('/'); return s[s.length - 1] + '.map';},
+ outputSourceFiles: false,
+ sourceMapRootpath: '../',
banner: '/*! searx | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n'
},
files: {