deps: only include required component of Ember Boostrap in build
This reduced the vendor.js size from 1.54 MB (395.39 KB gzipped) to 1.48 MB (385.52 KB gzipped).
This commit is contained in:
parent
dad9fbddf0
commit
2def069142
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ module.exports = function(defaults) {
|
|||
'ember-bootstrap': {
|
||||
importBootstrapCSS: false,
|
||||
'bootstrapVersion': 3,
|
||||
'importBootstrapFont': true
|
||||
'importBootstrapFont': true,
|
||||
whitelist: ['bs-alert', 'bs-button', 'bs-button-group', 'bs-form', 'bs-modal'],
|
||||
},
|
||||
'ember-cli-babel': {
|
||||
includePolyfill: true
|
||||
|
|
Loading…
Reference in a new issue