[PATCH] Fix images paths in CSS

[ Thread Index | Date Index | More lists.galette.eu/users Archives ]


---
 gulpfile.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gulpfile.js b/gulpfile.js
index ea5db506..815ad0cd 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -42,6 +42,9 @@ var main_assets = [
     }, {
         'src': './galette/webroot/themes/default/jquery-ui/images/*',
         'dest': '/images/'
+    }, {
+        'src': './galette/webroot/themes/default/images/desktop/*',
+        'dest': '/images/desktop/'
     }, {
         'src': './node_modules/farbstastic/*.png',
         'dest': '/images/'
@@ -68,7 +71,7 @@ function styles() {
   main = gulp.src(main_styles)
     .pipe(replace('jquery-ui/images/', '../images/'))
     .pipe(replace('("images/ui', '("../images/ui')) //
-    .pipe(replace('url(images/', 'url(../../themes/default/images/'))
+    .pipe(replace('url(images/', 'url(../images/'))
     .pipe(cleanCSS())
     .pipe(concat('galette-main.bundle.min.css'))
     .pipe(gulp.dest(_dir));
-- 
2.20.1


--MP_/NiTfydFEPCONcqxkXdVwoyt--

-- 
Galette users discussions

http://galette.eu - http://galette.eu/documentation
http://bugs.galette.eu/projects/galette/

List documentation: https://listengine.tuxfamily.org/lists.galette.eu/users/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/