From a7a05499846659a4a2a423a3e4e514d8095462f6 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Mon, 27 Jan 2020 16:44:46 +0100 Subject: [PATCH] [Fix] Fixed deployment of locales.json in gulpfile.js --- .../archetype-resources/src/main/webapp/gulpfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/li.strolch.mvn.archetype.webapp/src/main/resources/archetype-resources/src/main/webapp/gulpfile.js b/li.strolch.mvn.archetype.webapp/src/main/resources/archetype-resources/src/main/webapp/gulpfile.js index a2f7e3733..8e225c8d1 100644 --- a/li.strolch.mvn.archetype.webapp/src/main/resources/archetype-resources/src/main/webapp/gulpfile.js +++ b/li.strolch.mvn.archetype.webapp/src/main/resources/archetype-resources/src/main/webapp/gulpfile.js @@ -25,10 +25,10 @@ gulp.task('copy', function () { ]) .pipe(gulp.dest('www/img/')); - var json = gulp.src([ - 'app/bower_components/strolch-wc-auth/locales.json' + var locales = gulp.src([ + 'app/bower_components/**/locales.json' ]) - .pipe(gulp.dest('www/bower_components/strolch-wc-auth/')); + .pipe(gulp.dest('www/bower_components/')); var app_files = gulp.src([ 'app/bower.json', 'app/manifest.json', 'app/locales.json', '**/moment.min.js' @@ -40,7 +40,7 @@ gulp.task('copy', function () { ]) .pipe(gulp.dest('js')); - return merge(svg, imgs, json, app_files, js) + return merge(svg, imgs, locales, app_files, js) .pipe($.size({title: 'Copy app files to dist dir:'})); });