diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-26 13:57:05 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-06-28 10:38:44 +0200 |
commit | 76a066d4a3fa2b1ed0a89f619ea3647eec617b52 (patch) | |
tree | a31c22fe553535dd39e684bda2f77d8d497d0139 | |
parent | 5a979ff98773bbd4570b12e521173b881dd6da95 (diff) | |
download | searxng-76a066d4a3fa2b1ed0a89f619ea3647eec617b52.tar.gz searxng-76a066d4a3fa2b1ed0a89f619ea3647eec617b52.zip |
[mod] themes: remove banner generated by grunt
The banner is useless and responsible for unwanted diff.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r-- | searx/static/themes/oscar/gruntfile.js | 1 | ||||
-rw-r--r-- | searx/static/themes/simple/gruntfile.js | 3 |
2 files changed, 0 insertions, 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", |