diff options
author | Alexandre Flament <alex@al-f.net> | 2021-03-10 15:03:18 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-03-10 19:28:51 +0100 |
commit | c7133efb12641c55395e5b249cbc3cf44d8c8dff (patch) | |
tree | 081789575e0d287107f68087da209133286fa725 /searx/static/themes/oscar/gruntfile.js | |
parent | eda3b513acd2106da44e8cddae3d54a90e241958 (diff) | |
download | searxng-c7133efb12641c55395e5b249cbc3cf44d8c8dff.tar.gz searxng-c7133efb12641c55395e5b249cbc3cf44d8c8dff.zip |
[mod] oscar: move compiled files to the src directory
Diffstat (limited to 'searx/static/themes/oscar/gruntfile.js')
-rw-r--r-- | searx/static/themes/oscar/gruntfile.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/searx/static/themes/oscar/gruntfile.js b/searx/static/themes/oscar/gruntfile.js index 8e9528e5b..9a0718a11 100644 --- a/searx/static/themes/oscar/gruntfile.js +++ b/searx/static/themes/oscar/gruntfile.js @@ -7,7 +7,7 @@ module.exports = function(grunt) { separator: ';' }, dist: { - src: ['js/searx_src/*.js'], + src: ['src/js/*.js'], dest: 'js/searx.js' } }, @@ -38,26 +38,26 @@ module.exports = function(grunt) { less: { development: { options: { - paths: ["less/pointhi", "less/logicodev", "less/logicodev-dark", "less/bootstrap"] + paths: ["src/less/pointhi", "src/less/logicodev", "src/less/logicodev-dark"] }, files: { - "css/pointhi.css": "less/pointhi/oscar.less", - "css/logicodev.css": "less/logicodev-dark/oscar.less", - "css/logicodev-dark.css": "less/logicodev/oscar.less" + "css/pointhi.css": "src/less/pointhi/oscar.less", + "css/logicodev.css": "src/less/logicodev-dark/oscar.less", + "css/logicodev-dark.css": "src/less/logicodev/oscar.less" } }, production: { options: { - paths: ["less/pointhi", "less/logicodev", "less/logicodev-dark", "less/bootstrap"], + paths: ["src/less/pointhi", "src/less/logicodev", "src/less/logicodev-dark"], plugins: [ new (require('less-plugin-clean-css'))() ], sourceMap: true, }, files: { - "css/pointhi.min.css": "less/pointhi/oscar.less", - "css/logicodev.min.css": "less/logicodev/oscar.less", - "css/logicodev-dark.min.css": "less/logicodev-dark/oscar.less" + "css/pointhi.min.css": "src/less/pointhi/oscar.less", + "css/logicodev.min.css": "src/less/logicodev/oscar.less", + "css/logicodev-dark.min.css": "src/less/logicodev-dark/oscar.less" } }, }, @@ -67,7 +67,7 @@ module.exports = function(grunt) { tasks: ['jshint', 'concat', 'uglify'] }, oscar_styles: { - files: ['less/pointhi/**/*.less'], + files: ['src/less/pointhi/**/*.less'], tasks: ['less:development', 'less:production'] }, bootstrap_styles: { |