{"action":"created","issue":{"url":"https://api.github.com/repos/fex-team/fis3/issues/53","labels_url":"https://api.github.com/repos/fex-team/fis3/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/fex-team/fis3/issues/53/comments","events_url":"https://api.github.com/repos/fex-team/fis3/issues/53/events","html_url":"https://github.com/fex-team/fis3/issues/53","id":93933851,"number":53,"title":"雪碧图求助","user":{"login":"tcdona","id":352931,"avatar_url":"https://avatars.githubusercontent.com/u/352931?v=3","gravatar_id":"","url":"https://api.github.com/users/tcdona","html_url":"https://github.com/tcdona","followers_url":"https://api.github.com/users/tcdona/followers","following_url":"https://api.github.com/users/tcdona/following{/other_user}","gists_url":"https://api.github.com/users/tcdona/gists{/gist_id}","starred_url":"https://api.github.com/users/tcdona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcdona/subscriptions","organizations_url":"https://api.github.com/users/tcdona/orgs","repos_url":"https://api.github.com/users/tcdona/repos","events_url":"https://api.github.com/users/tcdona/events{/privacy}","received_events_url":"https://api.github.com/users/tcdona/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-09T02:14:31Z","updated_at":"2015-07-09T02:31:37Z","closed_at":null,"body":"额，还是我。。。```- -```\r\n之前用 grunt 我们所有 img 和 slice 分别放了 普通图片和雪碧图，\r\n```\r\nfis.match('less/(*.less)', {\r\n  parser: fis.plugin('less-2.x'),\r\n  rExt: '.css',\r\n  release: 'css/$1',\r\n})\r\nfis.match('publish/css/*.css', {\r\n  optimizer: fis.plugin('clean-css', {}),\r\n  useSprite: true,\r\n})\r\nfis.match('::package', {\r\n  spriter: fis.plugin('csssprites')\r\n})\r\n// publish/css/x.css 正常包含了：\r\nbackground-image: url(\"../slice/x.png?__sprite\");\r\n```\r\n但是图不知道在哪里，\r\n> 直接手写 /css/g.css/ 生成 /publish/css/g.css \r\n> 做的小测试里面是在 ```css/x.css``` 下有个 ```x_z.png```\r\n> ```x_z.png``` 路径或者名字不能配置？好奇怪的名字啊。。。\r\n\r\n这可能又是一个 先 less 转换，再生成雪碧图的问题。\r\n"},"comment":{"url":"https://api.github.com/repos/fex-team/fis3/issues/comments/119791155","html_url":"https://github.com/fex-team/fis3/issues/53#issuecomment-119791155","issue_url":"https://api.github.com/repos/fex-team/fis3/issues/53","id":119791155,"user":{"login":"xiangshouding","id":631195,"avatar_url":"https://avatars.githubusercontent.com/u/631195?v=3","gravatar_id":"","url":"https://api.github.com/users/xiangshouding","html_url":"https://github.com/xiangshouding","followers_url":"https://api.github.com/users/xiangshouding/followers","following_url":"https://api.github.com/users/xiangshouding/following{/other_user}","gists_url":"https://api.github.com/users/xiangshouding/gists{/gist_id}","starred_url":"https://api.github.com/users/xiangshouding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiangshouding/subscriptions","organizations_url":"https://api.github.com/users/xiangshouding/orgs","repos_url":"https://api.github.com/users/xiangshouding/repos","events_url":"https://api.github.com/users/xiangshouding/events{/privacy}","received_events_url":"https://api.github.com/users/xiangshouding/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T02:31:37Z","updated_at":"2015-07-09T02:31:37Z","body":"```js\r\nfis.match('publish/{less/*.less,css/*.css}', {\r\n  optimizer: fis.plugin('clean-css', {}),\r\n  useSprite: true,\r\n})\r\n```"}}