Skip to content

Commit

Permalink
Copy bower_components.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cu3PO42 committed Jul 28, 2015
1 parent 8c6fab4 commit 5eaa76d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});


Expand Down

0 comments on commit 5eaa76d

Please sign in to comment.