Permalink
Browse files

Don't include Bower task config on non-RJS

  • Loading branch information...
1 parent 43c0c7c commit 3c6b5b89ec85daf8c6317f1d41a617b4d4eed342 @sindresorhus sindresorhus committed Mar 17, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 app/templates/Gruntfile.js
@@ -153,8 +153,8 @@ module.exports = function (grunt) {
// but still available if needed
/*concat: {
dist: {}
- },*/
- <% if (includeRequireJS) { %>requirejs: {
+ },*/<% if (includeRequireJS) { %>
+ requirejs: {
dist: {
// Options: https://github.com/jrburke/r.js/blob/master/build/example.build.js
options: {
@@ -261,12 +261,12 @@ module.exports = function (grunt) {
]
}]
}
- },
+ }<% if (includeRequireJS) { %>,
bower: {
all: {
rjsConfig: '<%%= yeoman.app %>/scripts/main.js'
}
- }
+ }<% } %>
});
grunt.renameTask('regarde', 'watch');

0 comments on commit 3c6b5b8

Please sign in to comment.