Skip to content

Commit

Permalink
fix(webpack): fix webpack vendor import (#2177)
Browse files Browse the repository at this point in the history
exclude angular-socket-io when user doesn't select socket.io
  • Loading branch information
Awk34 committed Sep 1, 2016
1 parent 9806bcd commit aa32054
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/app/webpack.make.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ module.exports = function makeWebpackConfig(options) {
<%_ if(filters.ngroute) { _%>
'angular-route',<% } %>
'angular-sanitize',
'angular-socket-io',
<%_ if(filters.socketio) { _%>
'angular-socket-io',<% } %>
'angular-ui-bootstrap',
<%_ if(filters.uirouter) { _%>
'angular-ui-router',<% } %>
Expand Down

0 comments on commit aa32054

Please sign in to comment.