{"action":"created","issue":{"url":"https://api.github.com/repos/cssnext/grunt-cssnext/issues/1","labels_url":"https://api.github.com/repos/cssnext/grunt-cssnext/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cssnext/grunt-cssnext/issues/1/comments","events_url":"https://api.github.com/repos/cssnext/grunt-cssnext/issues/1/events","html_url":"https://github.com/cssnext/grunt-cssnext/issues/1","id":90092678,"number":1,"title":"résolution des urls différentes entre le CLI et la tâche grunt","user":{"login":"enguerran","id":701648,"avatar_url":"https://avatars.githubusercontent.com/u/701648?v=3","gravatar_id":"","url":"https://api.github.com/users/enguerran","html_url":"https://github.com/enguerran","followers_url":"https://api.github.com/users/enguerran/followers","following_url":"https://api.github.com/users/enguerran/following{/other_user}","gists_url":"https://api.github.com/users/enguerran/gists{/gist_id}","starred_url":"https://api.github.com/users/enguerran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enguerran/subscriptions","organizations_url":"https://api.github.com/users/enguerran/orgs","repos_url":"https://api.github.com/users/enguerran/repos","events_url":"https://api.github.com/users/enguerran/events{/privacy}","received_events_url":"https://api.github.com/users/enguerran/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-22T13:03:51Z","updated_at":"2015-06-23T05:36:11Z","closed_at":"2015-06-23T05:36:11Z","body":"Disons un fichier dans `./vr-ui/src/vr/styleguide/test.css` qui contient :\r\n```\r\n@font-face {\r\n  font-family: 'GothamRnd';\r\n  src: url(\"fonts/GothamRnd-Book.otf\");\r\n}\r\n\r\nhtml {\r\n  background-image: url(\"image/wtf.png\");\r\n}\r\n```\r\n\r\nAvec un `Gruntfile.js` qui contient :\r\n\r\n```\r\nmodule.exports = function (grunt) {\r\n    require('load-grunt-tasks')(grunt);\r\n\r\n    grunt.initConfig({\r\n        cssnext: {\r\n\t\t\ttest: {\r\n\t\t\t\tfiles: {\r\n\t\t\t\t\t\"toto/test.css\": \"vr-ui/src/vr/styleguide/test.css\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n}\r\n```\r\n\r\nquand je lance `grunt cssnext:test`, j'obtiens le fichier `./toto/test.css` :\r\n```\r\n@font-face {\r\n  font-family: 'GothamRnd';\r\n  src: url(\"../vr-ui/src/vr/styleguide/fonts/GothamRnd-Book.otf\");\r\n}\r\n\r\nhtml {\r\n  background-image: url(\"../vr-ui/src/vr/styleguide/image/wtf.png\");\r\n}\r\n\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3ZyLXVpL3NyYy92ci9zdHlsZWd1aWRlL3Rlc3QuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UseUJBQXlCO0VBQ3pCLGdFQUFxQztDQUN0Qzs7QUFFRDtFQUNFLGtFQUF1QztDQUN4QyIsImZpbGUiOiJ0ZXN0LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIkBmb250LWZhY2Uge1xuICBmb250LWZhbWlseTogJ0dvdGhhbVJuZCc7XG4gIHNyYzogdXJsKFwiZm9udHMvR290aGFtUm5kLUJvb2sub3RmXCIpO1xufVxuXG5odG1sIHtcbiAgYmFja2dyb3VuZC1pbWFnZTogdXJsKFwiaW1hZ2Uvd3RmLnBuZ1wiKTtcbn1cbiJdfQ== */\r\n```\r\n\r\nalors que quand je lance directement en CLI `cssnext vr-ui/src/vr/styleguide/test.css toto/test.css`, j'obtiens le fichier `toto/test.css` avec :\r\n```\r\n@font-face {\r\n  font-family: 'GothamRnd';\r\n  src: url(\"fonts/GothamRnd-Book.otf\");\r\n}\r\n\r\nhtml {\r\n  background-image: url(\"image/wtf.png\");\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/cssnext/grunt-cssnext/issues/comments/114364135","html_url":"https://github.com/cssnext/grunt-cssnext/issues/1#issuecomment-114364135","issue_url":"https://api.github.com/repos/cssnext/grunt-cssnext/issues/1","id":114364135,"user":{"login":"MoOx","id":157534,"avatar_url":"https://avatars.githubusercontent.com/u/157534?v=3","gravatar_id":"","url":"https://api.github.com/users/MoOx","html_url":"https://github.com/MoOx","followers_url":"https://api.github.com/users/MoOx/followers","following_url":"https://api.github.com/users/MoOx/following{/other_user}","gists_url":"https://api.github.com/users/MoOx/gists{/gist_id}","starred_url":"https://api.github.com/users/MoOx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoOx/subscriptions","organizations_url":"https://api.github.com/users/MoOx/orgs","repos_url":"https://api.github.com/users/MoOx/repos","events_url":"https://api.github.com/users/MoOx/events{/privacy}","received_events_url":"https://api.github.com/users/MoOx/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T05:36:11Z","updated_at":"2015-06-23T05:36:11Z","body":"First, please use english for issue on a repository that use only english.\r\nSecond, for support (because this is more a question than a bug _at first_), please use gitter channel https://gitter.im/cssnext/cssnext\r\n\r\nThe behavior of this grunt plugin is as expected according to these 2 things:\r\n- http://cssnext.io/usage/#url\r\n- https://github.com/cssnext/grunt-cssnext#options\r\n\r\nThe behavior of cssnext cli is not correct at the moment, please follow the opened issue to track the resolution https://github.com/cssnext/cssnext/issues/159"}}