{"action":"created","issue":{"url":"https://api.github.com/repos/plus3network/gulp-less/issues/166","labels_url":"https://api.github.com/repos/plus3network/gulp-less/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/plus3network/gulp-less/issues/166/comments","events_url":"https://api.github.com/repos/plus3network/gulp-less/issues/166/events","html_url":"https://github.com/plus3network/gulp-less/issues/166","id":70701648,"number":166,"title":"3.0.3 (PR #161) breaks gulp setup with bootstrap less file not found","user":{"login":"dcousineau","id":30331,"avatar_url":"https://avatars.githubusercontent.com/u/30331?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousineau","html_url":"https://github.com/dcousineau","followers_url":"https://api.github.com/users/dcousineau/followers","following_url":"https://api.github.com/users/dcousineau/following{/other_user}","gists_url":"https://api.github.com/users/dcousineau/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousineau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousineau/subscriptions","organizations_url":"https://api.github.com/users/dcousineau/orgs","repos_url":"https://api.github.com/users/dcousineau/repos","events_url":"https://api.github.com/users/dcousineau/events{/privacy}","received_events_url":"https://api.github.com/users/dcousineau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-24T14:18:41Z","updated_at":"2015-11-21T15:51:04Z","closed_at":null,"body":"I've downgraded to 3.0.2 for now and if there's a preferred way to handle this now let me know\r\n___\r\n\r\nThe 3.0.3 upgrade breaks my existing gulp system that previously worked with the error message\r\n\r\n> Error: \"/node_modules/bootstrap/less/normalize.less\" is not in the SourceMap.\r\n\r\nThe relevant snippet from my gulpfile:\r\n\r\n```javascript\r\ngulp.task('less', function() {\r\n    return gulp.src('application/static/src/less/core.less')\r\n        .pipe(sourcemaps.init())\r\n        .pipe(less({\r\n            paths: ['node_modules', 'application/static/src/less']\r\n        }).on('error', notify.onError({\r\n            message: \"Error: <%= error.message %>\"\r\n          , title: \"LESS Compile Error\"\r\n        })))\r\n        .pipe(gulpif(!production, sourcemaps.write('.')))\r\n        .pipe(gulp.dest(destPath + '/css'))\r\n        .pipe(buffer())\r\n        .pipe(minifyCSS({\r\n            keepSpecialComments: 0  //Drop everything including licensing comments, we will list in app\r\n        }))\r\n        .pipe(rename('core.min.css'))\r\n        .pipe(gulp.dest(destPath + '/css'))\r\n    ;\r\n});\r\n```\r\n\r\nWhich enabled us to do the following when we included bootstrap:\r\n\r\n```less\r\n@import \"bootstrap/less/variables.less\";\r\n```\r\n\r\nIf would love some direction on the preferred way to do this going forward. I don't see anything in the sourcemaps documentation to specify multiple paths and no way in PR #161 to turn off the new behavior."},"comment":{"url":"https://api.github.com/repos/plus3network/gulp-less/issues/comments/158657556","html_url":"https://github.com/plus3network/gulp-less/issues/166#issuecomment-158657556","issue_url":"https://api.github.com/repos/plus3network/gulp-less/issues/166","id":158657556,"user":{"login":"jrehwaldt","id":586617,"avatar_url":"https://avatars.githubusercontent.com/u/586617?v=3","gravatar_id":"","url":"https://api.github.com/users/jrehwaldt","html_url":"https://github.com/jrehwaldt","followers_url":"https://api.github.com/users/jrehwaldt/followers","following_url":"https://api.github.com/users/jrehwaldt/following{/other_user}","gists_url":"https://api.github.com/users/jrehwaldt/gists{/gist_id}","starred_url":"https://api.github.com/users/jrehwaldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrehwaldt/subscriptions","organizations_url":"https://api.github.com/users/jrehwaldt/orgs","repos_url":"https://api.github.com/users/jrehwaldt/repos","events_url":"https://api.github.com/users/jrehwaldt/events{/privacy}","received_events_url":"https://api.github.com/users/jrehwaldt/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T15:51:04Z","updated_at":"2015-11-21T15:51:04Z","body":"I tried my [repo test case](https://github.com/jrehwaldt/gulp-minify-css-error) and the same effect persists. The minification fails silently and gulp never finishes the task."}}