{"action":"created","issue":{"url":"https://api.github.com/repos/fex-team/fis3/issues/977","repository_url":"https://api.github.com/repos/fex-team/fis3","labels_url":"https://api.github.com/repos/fex-team/fis3/issues/977/labels{/name}","comments_url":"https://api.github.com/repos/fex-team/fis3/issues/977/comments","events_url":"https://api.github.com/repos/fex-team/fis3/issues/977/events","html_url":"https://github.com/fex-team/fis3/issues/977","id":178104478,"number":977,"title":"html?__inline 静态资源路径在release后的相对路径不是预期","user":{"login":"li9269391","id":10287877,"avatar_url":"https://avatars.githubusercontent.com/u/10287877?v=3","gravatar_id":"","url":"https://api.github.com/users/li9269391","html_url":"https://github.com/li9269391","followers_url":"https://api.github.com/users/li9269391/followers","following_url":"https://api.github.com/users/li9269391/following{/other_user}","gists_url":"https://api.github.com/users/li9269391/gists{/gist_id}","starred_url":"https://api.github.com/users/li9269391/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/li9269391/subscriptions","organizations_url":"https://api.github.com/users/li9269391/orgs","repos_url":"https://api.github.com/users/li9269391/repos","events_url":"https://api.github.com/users/li9269391/events{/privacy}","received_events_url":"https://api.github.com/users/li9269391/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-20T16:06:58Z","updated_at":"2016-09-27T09:23:04Z","closed_at":null,"body":"* **操作系统**:\r\n* **Node版本**: 4.4.4\r\n* **FIS版本**: 3.4.6\r\n* **解决方案**: \r\n* **依赖插件**:fis3-hook-relative  编译后的资源相对路径\r\n\r\nfis.hook('relative');\r\nfis.match('**', {\r\n  relative: true\r\n})\r\n目录：\r\n--js\r\n--common\r\n   |-- _footer.html\r\n--index.html\r\nfooter里面引用 /js/xx.js ，index.html 里面内嵌common/_footer.html?__inline\r\n release 后，index.html的相对地址不是预期的，而是 ../js/xx.js "},"comment":{"url":"https://api.github.com/repos/fex-team/fis3/issues/comments/249812585","html_url":"https://github.com/fex-team/fis3/issues/977#issuecomment-249812585","issue_url":"https://api.github.com/repos/fex-team/fis3/issues/977","id":249812585,"user":{"login":"TOP-Chao","id":3605154,"avatar_url":"https://avatars.githubusercontent.com/u/3605154?v=3","gravatar_id":"","url":"https://api.github.com/users/TOP-Chao","html_url":"https://github.com/TOP-Chao","followers_url":"https://api.github.com/users/TOP-Chao/followers","following_url":"https://api.github.com/users/TOP-Chao/following{/other_user}","gists_url":"https://api.github.com/users/TOP-Chao/gists{/gist_id}","starred_url":"https://api.github.com/users/TOP-Chao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TOP-Chao/subscriptions","organizations_url":"https://api.github.com/users/TOP-Chao/orgs","repos_url":"https://api.github.com/users/TOP-Chao/repos","events_url":"https://api.github.com/users/TOP-Chao/events{/privacy}","received_events_url":"https://api.github.com/users/TOP-Chao/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T09:23:04Z","updated_at":"2016-09-27T09:23:04Z","body":"`fis3-preprocessor-project` 使用这个插件 ~ 可以处理inline后资源地址不正确的问题"}}
{"actor":{"display_login":"TOP-Chao"}}