diff options
author | Johannes Schauer <josch@debian.org> | 2017-11-24 00:32:35 +0100 |
---|---|---|
committer | Johannes Schauer <josch@debian.org> | 2017-11-24 10:58:44 +0100 |
commit | b64e047a5debbb68692d367b19a5de69d6635457 (patch) | |
tree | 84394e75ad189980de61e930848ef11e9df64a8e | |
parent | f1527a94a793e8adc98e980e57284cba895e8944 (diff) |
searx/static/themes/simple/gruntfile.js: only use concat and uglify
-rw-r--r-- | searx/static/themes/simple/gruntfile.js | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js index 1a3e00d..f3507a4 100644 --- a/searx/static/themes/simple/gruntfile.js +++ b/searx/static/themes/simple/gruntfile.js @@ -58,12 +58,6 @@ module.exports = function(grunt) { production: { options: { paths: ["less"], - plugins: [ - new (require('less-plugin-clean-css'))({ - advanced: true, - compatibility: 'ie8' - }) - ], banner: '/*! searx | <%= grunt.template.today("dd-mm-yyyy") %> | https://github.com/asciimoo/searx */\n' }, files: { @@ -137,15 +131,8 @@ module.exports = function(grunt) { } }); - grunt.loadNpmTasks('grunt-contrib-watch'); - grunt.loadNpmTasks('grunt-contrib-uglify'); - grunt.loadNpmTasks('grunt-contrib-jshint'); - grunt.loadNpmTasks('grunt-contrib-concat'); - grunt.loadNpmTasks('grunt-contrib-less'); - grunt.loadNpmTasks('grunt-contrib-cssmin'); - grunt.loadNpmTasks('grunt-webfont'); + 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:development', 'less:production']); + grunt.registerTask('default', ['concat', 'uglify']); }; |