From dacc303b426d22133bcb4266510c0e82c4dede43 Mon Sep 17 00:00:00 2001 From: Christian Sterzl Date: Thu, 14 Jun 2018 15:12:32 +0200 Subject: [PATCH] Add bower json to generated dir thus resolutions are taken into account Signed-off-by: Christian Sterzl --- gulpfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gulpfile.js b/gulpfile.js index 19e7de2..f60c83c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -41,6 +41,7 @@ gulp.task('bower:configure', ['clean:resources'], function(done) { jsonfile.readFile('.bowerrc', function (err, obj) { if (!err) { fs.copySync('.bowerrc', globalVar.publicDir + '/.bowerrc'); + fs.copySync('bower.json', globalVar.publicDir + '/bower.json'); if(obj.directory) { globalVar.bowerDir = globalVar.publicDir + '/' + obj.directory + '/'; }