Merge pull request #581 from return42/fix-source-map
[fix] simple theme: make LESS sources available on non build hosts
This commit is contained in:
commit
e4a2d354aa
BIN
searx/static/themes/oscar/js/searxng.min.js
vendored
BIN
searx/static/themes/oscar/js/searxng.min.js
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -112,8 +112,7 @@ module.exports = function(grunt) {
|
|||||||
],
|
],
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
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: true,
|
||||||
sourceMapRootpath: '../',
|
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
"css/searxng.min.css": "src/less/style.less",
|
"css/searxng.min.css": "src/less/style.less",
|
||||||
|
Loading…
Reference in New Issue
Block a user