Browse Source

[mod] oscar theme: added option into gruntfile.js for generate sourceMap

Credits go to @mrwormo  (see PR #2308 )
Alexandre Flament 4 years ago
parent
commit
f1e016e9ea

+ 1 - 0
searx/static/themes/oscar/gruntfile.js

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

File diff suppressed because it is too large
+ 0 - 1
searx/static/themes/oscar/js/searx.min.js


File diff suppressed because it is too large
+ 0 - 0
searx/static/themes/oscar/js/searx.min.js.map


Some files were not shown because too many files changed in this diff