[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>
This commit is contained in:
Markus Heiser 2021-06-26 13:57:05 +02:00 committed by Alexandre Flament
parent 5a979ff987
commit 76a066d4a3
2 changed files with 0 additions and 4 deletions

View File

@ -67,7 +67,6 @@ module.exports = function(grunt) {
uglify: { uglify: {
options: { options: {
sourceMap: true, sourceMap: true,
banner: '/*! oscar/searx.min.js | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n'
}, },
dist: { dist: {
files: { files: {

View File

@ -71,7 +71,6 @@ module.exports = function(grunt) {
}, },
uglify: { uglify: {
options: { options: {
banner: '/*! simple/searx.min.js | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n',
output: { output: {
comments: 'some' comments: 'some'
}, },
@ -156,7 +155,6 @@ module.exports = function(grunt) {
development: { development: {
options: { options: {
paths: ["less"], paths: ["less"],
banner: '/*! searx | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n'
}, },
files: { files: {
"css/searx.css": "src/less/style.less", "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';}, sourceMapURL: (name) => { const s = name.split('/'); return s[s.length - 1] + '.map';},
outputSourceFiles: false, outputSourceFiles: false,
sourceMapRootpath: '../', sourceMapRootpath: '../',
banner: '/*! searx | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n'
}, },
files: { files: {
"css/searx.min.css": "src/less/style.less", "css/searx.min.css": "src/less/style.less",