{"action":"created","issue":{"url":"https://api.github.com/repos/scniro/gulp-clean-css/issues/43","repository_url":"https://api.github.com/repos/scniro/gulp-clean-css","labels_url":"https://api.github.com/repos/scniro/gulp-clean-css/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/scniro/gulp-clean-css/issues/43/comments","events_url":"https://api.github.com/repos/scniro/gulp-clean-css/issues/43/events","html_url":"https://github.com/scniro/gulp-clean-css/issues/43","id":229058851,"number":43,"title":"v3.3.1 breaks @import pathing","user":{"login":"stephencorwin","id":3931162,"avatar_url":"https://avatars1.githubusercontent.com/u/3931162?v=3","gravatar_id":"","url":"https://api.github.com/users/stephencorwin","html_url":"https://github.com/stephencorwin","followers_url":"https://api.github.com/users/stephencorwin/followers","following_url":"https://api.github.com/users/stephencorwin/following{/other_user}","gists_url":"https://api.github.com/users/stephencorwin/gists{/gist_id}","starred_url":"https://api.github.com/users/stephencorwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephencorwin/subscriptions","organizations_url":"https://api.github.com/users/stephencorwin/orgs","repos_url":"https://api.github.com/users/stephencorwin/repos","events_url":"https://api.github.com/users/stephencorwin/events{/privacy}","received_events_url":"https://api.github.com/users/stephencorwin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-05-16T14:43:15Z","updated_at":"2017-05-16T17:14:25Z","closed_at":null,"body":"It appears as though the latest version of gulp-clean-css has a different behaviour with how it handles **@import** paths using the **inline: ['none']** option.\r\n\r\nWe unintentionally installed v3.3.1 by using the package.json devDependency declaration: **\"gulp-clean-css\": \"^3.2.0\"**.\r\nWe fixed the issue locally by changing our package.json devDependency declaration to exact: **\"gulp-clean-css\": \"3.2.0\"**.\r\n\r\nSee screenshots below\r\n\r\n**[v3.2.0] expected result:**\r\n![v3 2 0](https://cloud.githubusercontent.com/assets/3931162/26111747/f32ba87e-3a23-11e7-8a80-782d5df1c103.PNG)\r\n\r\n**[v3.3.1] unexpected result:**\r\n![v3 3 1](https://cloud.githubusercontent.com/assets/3931162/26111748/f39fa256-3a23-11e7-9ecc-a8e60c954944.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/scniro/gulp-clean-css/issues/comments/301851475","html_url":"https://github.com/scniro/gulp-clean-css/issues/43#issuecomment-301851475","issue_url":"https://api.github.com/repos/scniro/gulp-clean-css/issues/43","id":301851475,"user":{"login":"stephencorwin","id":3931162,"avatar_url":"https://avatars1.githubusercontent.com/u/3931162?v=3","gravatar_id":"","url":"https://api.github.com/users/stephencorwin","html_url":"https://github.com/stephencorwin","followers_url":"https://api.github.com/users/stephencorwin/followers","following_url":"https://api.github.com/users/stephencorwin/following{/other_user}","gists_url":"https://api.github.com/users/stephencorwin/gists{/gist_id}","starred_url":"https://api.github.com/users/stephencorwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephencorwin/subscriptions","organizations_url":"https://api.github.com/users/stephencorwin/orgs","repos_url":"https://api.github.com/users/stephencorwin/repos","events_url":"https://api.github.com/users/stephencorwin/events{/privacy}","received_events_url":"https://api.github.com/users/stephencorwin/received_events","type":"User","site_admin":false},"created_at":"2017-05-16T17:14:25Z","updated_at":"2017-05-16T17:14:25Z","body":"Yes. As mentioned earlier, setting the rebaseTo option to **false**, **''**, or **my destination folder** doesn't seem to fix it either.\r\n\r\n**rebaseTo: 'assets/css'**\r\n![image](https://cloud.githubusercontent.com/assets/3931162/26118435/e97dc21c-3a37-11e7-8a63-7404bbf1c1e2.png)\r\n\r\nWhat I think might be the culprit is if gulp-clean-css is somehow trying to inherit the path from **gulp.src()**. The src is directed at my sass entry point, which is referred to in a relative manor. See screenshot below.\r\n\r\n![paths](https://cloud.githubusercontent.com/assets/3931162/26118823/410a3816-3a39-11e7-8046-bf9fd35c2d00.PNG)\r\n\r\nThanks again for your help on this. I appreciate it."}}
{"actor":{"display_login":"stephencorwin"}}