[Fix] Fixed deployment of locales.json in gulpfile.js
This commit is contained in:
parent
d96a702e7b
commit
a7a0549984
|
@ -25,10 +25,10 @@ gulp.task('copy', function () {
|
||||||
])
|
])
|
||||||
.pipe(gulp.dest('www/img/'));
|
.pipe(gulp.dest('www/img/'));
|
||||||
|
|
||||||
var json = gulp.src([
|
var locales = gulp.src([
|
||||||
'app/bower_components/strolch-wc-auth/locales.json'
|
'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([
|
var app_files = gulp.src([
|
||||||
'app/bower.json', 'app/manifest.json', 'app/locales.json', '**/moment.min.js'
|
'app/bower.json', 'app/manifest.json', 'app/locales.json', '**/moment.min.js'
|
||||||
|
@ -40,7 +40,7 @@ gulp.task('copy', function () {
|
||||||
])
|
])
|
||||||
.pipe(gulp.dest('js'));
|
.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:'}));
|
.pipe($.size({title: 'Copy app files to dist dir:'}));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue