From dd131d9b6d554001980b821ea05da1268f56d087 Mon Sep 17 00:00:00 2001 From: Andrew Koroluk Date: Thu, 1 Sep 2016 16:58:52 -0400 Subject: [PATCH] fix(webpack): conditionally exclude ui-bootstrap --- templates/app/webpack.make.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/app/webpack.make.js b/templates/app/webpack.make.js index 361ede860..6c04a7449 100644 --- a/templates/app/webpack.make.js +++ b/templates/app/webpack.make.js @@ -51,7 +51,8 @@ module.exports = function makeWebpackConfig(options) { 'angular-sanitize', <%_ if(filters.socketio) { _%> 'angular-socket-io',<% } %> - 'angular-ui-bootstrap', + <%_ if(filters.uibootstrap) { -%> + 'angular-ui-bootstrap',<% } %> <%_ if(filters.uirouter) { _%> 'angular-ui-router',<% } %> 'lodash'