diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-09-30 17:55:22 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2021-09-30 18:50:21 +0200 |
| commit | df06dddc044161c6d5caacab1b2a5b9faa109f01 (patch) | |
| tree | 0ea11e63f0bc8f5ebd654a1bad81eb6bfc358a58 /searx/static/themes/oscar/gruntfile.js | |
| parent | a582cf3d8231f5ed8a881aa87576dfc0600e1c07 (diff) | |
SearXNG: oscar theme
Diffstat (limited to 'searx/static/themes/oscar/gruntfile.js')
| -rw-r--r-- | searx/static/themes/oscar/gruntfile.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/searx/static/themes/oscar/gruntfile.js b/searx/static/themes/oscar/gruntfile.js index d33c1b183..8e118afd6 100644 --- a/searx/static/themes/oscar/gruntfile.js +++ b/searx/static/themes/oscar/gruntfile.js @@ -61,29 +61,33 @@ module.exports = function(grunt) { }, dist: { src: ['src/js/*.js', '../__common__/js/image_layout.js'], - dest: 'js/searx.js' + dest: 'js/searxng.js' } }, uglify: { options: { + output: { + comments: 'some' + }, sourceMap: true, }, dist: { files: { - 'js/searx.min.js': ['<%= concat.dist.dest %>'] + 'js/searxng.min.js': ['<%= concat.dist.dest %>'] } } }, jshint: { - files: ['gruntfile.js', 'js/searx_src/*.js', '../__common__/js/image_layout.js'], + files: ['gruntfile.js', 'src/js/*.js', '../__common__/js/image_layout.js'], options: { reporterOutput: "", + esversion: 6, // options here to override JSHint defaults globals: { jQuery: true, console: true, module: true, - document: true + document: true, } } }, |