{"action":"opened","issue":{"url":"https://api.github.com/repos/jonkemp/gulp-useref/issues/109","labels_url":"https://api.github.com/repos/jonkemp/gulp-useref/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/jonkemp/gulp-useref/issues/109/comments","events_url":"https://api.github.com/repos/jonkemp/gulp-useref/issues/109/events","html_url":"https://github.com/jonkemp/gulp-useref/issues/109","id":78362385,"number":109,"title":"How to properly inject bower_dependencies (jQuery) using useref","user":{"login":"mariocatch","id":1885172,"avatar_url":"https://avatars.githubusercontent.com/u/1885172?v=3","gravatar_id":"","url":"https://api.github.com/users/mariocatch","html_url":"https://github.com/mariocatch","followers_url":"https://api.github.com/users/mariocatch/followers","following_url":"https://api.github.com/users/mariocatch/following{/other_user}","gists_url":"https://api.github.com/users/mariocatch/gists{/gist_id}","starred_url":"https://api.github.com/users/mariocatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariocatch/subscriptions","organizations_url":"https://api.github.com/users/mariocatch/orgs","repos_url":"https://api.github.com/users/mariocatch/repos","events_url":"https://api.github.com/users/mariocatch/events{/privacy}","received_events_url":"https://api.github.com/users/mariocatch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-20T04:16:07Z","updated_at":"2015-05-20T04:16:07Z","closed_at":null,"body":"I have a reddit thread here with my question: [reddit link](http://www.reddit.com/r/webdev/comments/36kvk8/gulp_bower_im_having_some_issues_with_a_core/)\r\n\r\nEssentially, I'm not figuring out a viable way to inject my bower_components (jQuery in this case) into my final index.html file, based on the snippets I've included in the source index.html file. Seems no matter what I try in the source html file, nothing is injected/placed in the final output of that file.\r\n\r\nThe reddit thread has the information, but for the most part, here's what I've got. I've excluded my attempts at referencing bower_components since they were all to no avail. This is my starting point though:\r\n\r\n**source index.html**\r\n\r\n    <!-- build:css css/site.css -->\r\n    <link rel=\"stylesheet\" src=\"styles/site.scss\">\r\n    <!-- endbuild -->\r\n\r\n    <!-- build:js js/site.js -->\r\n    <script src=\"scripts/site.js\" type=\"text/javascript\"></script>\r\n    <!-- endbuild -->\r\n\r\n**gulpfile.js**\r\n\r\n    var paths = {\r\n      src: {\r\n        js: mainBowerFiles({\r\n          base: './bower_components',\r\n          filter: '**/*.js',\r\n          includeDev: 'true',\r\n        }).concat(['app/scripts/**/*.js'])\r\n      }\r\n    };\r\n\r\n    gulp.task('scripts', function() {\r\n        return gulp.src(paths.src.js)\r\n            .pipe(uglify())\r\n            .pipe(gulp.dest('dist/js'))\r\n            .pipe(reload({stream: true}));\r\n    });"}}