Skip to content
This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Commit fed590d

Browse files
authored
Merge pull request #80 from genius-devil/master
Fastboot check for loading bower components
2 parents 1e5df18 + af78616 commit fed590d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ module.exports = {
77
included: function(app) {
88
this._super.included(app);
99

10-
app.import(app.bowerDirectory + '/bootstrap-datepicker/dist/js/bootstrap-datepicker.js');
11-
app.import(app.bowerDirectory + '/bootstrap-datepicker/dist/css/bootstrap-datepicker.css');
10+
if (process.env.EMBER_CLI_FASTBOOT !== 'true') {
11+
app.import(app.bowerDirectory + '/bootstrap-datepicker/dist/js/bootstrap-datepicker.js');
12+
app.import(app.bowerDirectory + '/bootstrap-datepicker/dist/css/bootstrap-datepicker.css');
13+
}
1214
}
1315
};
16+

0 commit comments

Comments
 (0)