Skip to content

Commit f7c3d0a

Browse files
committed
fix(stylus): remove bootstrap css import in stylus when bootstrap is not selected
Closes #368
1 parent a613c6f commit f7c3d0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/templates/client/app/app(stylus).styl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@import "bootstrap/dist/css/bootstrap.css"
21
@import "font-awesome/css/font-awesome.css"
2+
<% if(filters.bootstrap) { %>@import "bootstrap/dist/css/bootstrap.css"
33

44
//
55
// Bootstrap Fonts
@@ -12,7 +12,7 @@
1212
url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff'),
1313
url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.ttf') format('truetype'),
1414
url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
15-
15+
<% } %>
1616
//
1717
// Font Awesome Fonts
1818
//

0 commit comments

Comments
 (0)