fix(app): add an override for bootstrap/bower · yeoman/generator-angular@209100d

This repository was archived by the owner on Mar 26, 2018. It is now read-only.

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -18,5 +18,14 @@

1818

"angular-mocks": "^<%= ngVer %>"

1919

}<% if (appPath) { %>,

2020

"appPath": "<%= appPath %>"<% } %>,

21-

"moduleName": "<%= scriptAppName %>"

21+

"moduleName": "<%= scriptAppName %>"<% if (bootstrap) { %>,

22+

"overrides": {

23+

"bootstrap": {

24+

"main": [

25+

"less/bootstrap.less",

26+

"dist/css/bootstrap.css",

27+

"dist/js/bootstrap.js"

28+

]

29+

}

30+

}<% } %>

2231

}