From 76a066d4a3fa2b1ed0a89f619ea3647eec617b52 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 26 Jun 2021 13:57:05 +0200 Subject: [PATCH] [mod] themes: remove banner generated by grunt The banner is useless and responsible for unwanted diff. Signed-off-by: Markus Heiser --- searx/static/themes/oscar/gruntfile.js | 1 - searx/static/themes/simple/gruntfile.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/searx/static/themes/oscar/gruntfile.js b/searx/static/themes/oscar/gruntfile.js index f2673e3d1..d33c1b183 100644 --- a/searx/static/themes/oscar/gruntfile.js +++ b/searx/static/themes/oscar/gruntfile.js @@ -67,7 +67,6 @@ module.exports = function(grunt) { uglify: { options: { sourceMap: true, - banner: '/*! oscar/searx.min.js | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n' }, dist: { files: { diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js index 130f406d9..7e5ad5466 100644 --- a/searx/static/themes/simple/gruntfile.js +++ b/searx/static/themes/simple/gruntfile.js @@ -71,7 +71,6 @@ module.exports = function(grunt) { }, uglify: { options: { - banner: '/*! simple/searx.min.js | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n', output: { comments: 'some' }, @@ -156,7 +155,6 @@ module.exports = function(grunt) { development: { options: { paths: ["less"], - banner: '/*! searx | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n' }, files: { "css/searx.css": "src/less/style.less", @@ -173,7 +171,6 @@ module.exports = function(grunt) { 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: { "css/searx.min.css": "src/less/style.less",