From f1e016e9ea906b38575a3b441260a59033485e1d Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Tue, 1 Dec 2020 10:07:01 +0100 Subject: [PATCH] [mod] oscar theme: added option into gruntfile.js for generate sourceMap Credits go to @mrwormo (see PR #2308 ) --- searx/static/themes/oscar/gruntfile.js | 1 + searx/static/themes/oscar/js/searx.min.js | Bin 5722 -> 5761 bytes searx/static/themes/oscar/js/searx.min.js.map | Bin 0 -> 6730 bytes 3 files changed, 1 insertion(+) create mode 100644 searx/static/themes/oscar/js/searx.min.js.map diff --git a/searx/static/themes/oscar/gruntfile.js b/searx/static/themes/oscar/gruntfile.js index 606b6bcf..b18c0bc6 100644 --- a/searx/static/themes/oscar/gruntfile.js +++ b/searx/static/themes/oscar/gruntfile.js @@ -13,6 +13,7 @@ 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: { diff --git a/searx/static/themes/oscar/js/searx.min.js b/searx/static/themes/oscar/js/searx.min.js index 1e3b96a2ebffd2f45b0c6e83057408cda24ef367..b8668c8b0bd1c765c4c30085abbd4998bcd59285 100644 GIT binary patch delta 58 zcmcbm)2KT^lGVUa*U)I9oc2Z!Au%;BeSKwx;{4L0;+K( diff --git a/searx/static/themes/oscar/js/searx.min.js.map b/searx/static/themes/oscar/js/searx.min.js.map new file mode 100644 index 0000000000000000000000000000000000000000..4dd22d6d50e44b6a6fe1c85e40cd383cf5be83d4 GIT binary patch literal 6730 zcmb7JU31z<7X2$*u6>JYJ&wo8IP=tMWQAZt7)%J>+Hy6bK>{IRN!Z}6{qK9uZOI0k z+3Y-6YN>DE&vQS7|9$dci!#ZxlTYW~Nttho$d)Ic{&`YbQ*8gSC{O<7on&U^UKaL# zlN1(jy^|=U*D(041uW@}$vT6Q^g|NbX%5_vE>k5l#QxrC<2Fo)^hH$xM3ZG`V{)>4r4$yLZ9`1Vl6r8@N`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