[PATCH] Fix images paths in CSS |
[ Thread Index |
Date Index
| More lists.galette.eu/devel Archives
]
- Subject: [PATCH] Fix images paths in CSS
- From: Guillaume AGNIERAY <dev@xxxxxxxxxxxx>
- Date: Mon, 18 Nov 2019 15:47:09 +0100
---
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 development - http://galette.eu/
List documentation: https://listengine.tuxfamily.org/lists.galette.eu/devel/