diff --git a/gulpfile.js b/gulpfile.js index cfb3540b..88a3a5ad 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -202,8 +202,9 @@ gulp.task('copyBuild', function() { // TODO get production dependencies here var build = gulp.src(['app/**/*', '!app/**/*.ts', 'names/**/*', 'node_modules/{keysavcore,handlebars,lodash,electron-ipc-tunnel,async,path-extra}/**/*', 'server/**/*.js', 'package.json'], {base: '.'}); var mainJs = gulp.src('main.js') + var bowerComponents = gulp.src('bower_components/**/*').pipe(gulp.dest('build/app/bower_components')); //.pipe($.replace("app/index.html", "dist/index.html")) - return merge(build, mainJs).pipe(gulp.dest('build')); + return merge(merge(build, mainJs).pipe(gulp.dest('build')), bowerComponents); });