diff options
author | Johannes Schauer <josch@debian.org> | 2017-11-24 00:34:41 +0100 |
---|---|---|
committer | Johannes Schauer <josch@debian.org> | 2017-11-24 10:58:56 +0100 |
commit | 80e510473858b95af32bc069eeac154ff9c171da (patch) | |
tree | 6de1cd8691ae3e1ae01da5bc83fc94d73600ea65 | |
parent | b4bf2eba8a957219203e6799cf67e1d88b237df9 (diff) |
searx/static/themes/oscar/gruntfile.js: only use concat and uglify
-rw-r--r-- | searx/static/themes/oscar/gruntfile.js | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/searx/static/themes/oscar/gruntfile.js b/searx/static/themes/oscar/gruntfile.js index 625f516..d5abbb5 100644 --- a/searx/static/themes/oscar/gruntfile.js +++ b/searx/static/themes/oscar/gruntfile.js @@ -79,16 +79,9 @@ module.exports = function(grunt) { } }); - grunt.loadNpmTasks('grunt-contrib-uglify'); - grunt.loadNpmTasks('grunt-contrib-jshint'); - grunt.loadNpmTasks('grunt-contrib-watch'); - grunt.loadNpmTasks('grunt-contrib-concat'); - grunt.loadNpmTasks('grunt-contrib-less'); + grunt.loadNpmTasks('grunt-contrib-uglify', '/usr/lib/nodejs'); + grunt.loadNpmTasks('grunt-contrib-concat', '/usr/lib/nodejs'); - grunt.registerTask('test', ['jshint']); - - grunt.registerTask('default', ['jshint', 'concat', 'uglify', 'less']); - - grunt.registerTask('styles', ['less']); + grunt.registerTask('default', ['concat', 'uglify']); }; |