{"action":"created","issue":{"url":"https://api.github.com/repos/wuomzfx/webpack-babel-plugin/issues/1","repository_url":"https://api.github.com/repos/wuomzfx/webpack-babel-plugin","labels_url":"https://api.github.com/repos/wuomzfx/webpack-babel-plugin/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/wuomzfx/webpack-babel-plugin/issues/1/comments","events_url":"https://api.github.com/repos/wuomzfx/webpack-babel-plugin/issues/1/events","html_url":"https://github.com/wuomzfx/webpack-babel-plugin/issues/1","id":320657792,"number":1,"title":"'webpack/lib/RequestShortener'和'webpack/lib/ModuleFilenameHelpers'","user":{"login":"strongcode9527","id":15713941,"avatar_url":"https://avatars1.githubusercontent.com/u/15713941?v=4","gravatar_id":"","url":"https://api.github.com/users/strongcode9527","html_url":"https://github.com/strongcode9527","followers_url":"https://api.github.com/users/strongcode9527/followers","following_url":"https://api.github.com/users/strongcode9527/following{/other_user}","gists_url":"https://api.github.com/users/strongcode9527/gists{/gist_id}","starred_url":"https://api.github.com/users/strongcode9527/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongcode9527/subscriptions","organizations_url":"https://api.github.com/users/strongcode9527/orgs","repos_url":"https://api.github.com/users/strongcode9527/repos","events_url":"https://api.github.com/users/strongcode9527/events{/privacy}","received_events_url":"https://api.github.com/users/strongcode9527/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-07T02:48:43Z","updated_at":"2018-05-08T01:42:34Z","closed_at":null,"author_association":"NONE","body":"相学长您好，在网上看了您的tree-shaking文章，学到了很多知识，而且自己也成功实现了关于class进行tree-shaking。但是我在研究您的插件的时候，有两个webpack的内部插件不知道是什么意思。您能给我个相关文档吗？我在webpack官网和google上面找了半天，也没有找到。。。\r\n\r\n```\r\n\r\n// 第二个我可以猜到是进行文件过滤使用。但第一个真的不知道是干什么用的。。\r\nconst RequestShortener = require('webpack/lib/RequestShortener') \r\n\r\n\r\nconst ModuleFilenameHelpers = require('webpack/lib/ModuleFilenameHelpers')\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/wuomzfx/webpack-babel-plugin/issues/comments/387258101","html_url":"https://github.com/wuomzfx/webpack-babel-plugin/issues/1#issuecomment-387258101","issue_url":"https://api.github.com/repos/wuomzfx/webpack-babel-plugin/issues/1","id":387258101,"user":{"login":"wuomzfx","id":8017237,"avatar_url":"https://avatars3.githubusercontent.com/u/8017237?v=4","gravatar_id":"","url":"https://api.github.com/users/wuomzfx","html_url":"https://github.com/wuomzfx","followers_url":"https://api.github.com/users/wuomzfx/followers","following_url":"https://api.github.com/users/wuomzfx/following{/other_user}","gists_url":"https://api.github.com/users/wuomzfx/gists{/gist_id}","starred_url":"https://api.github.com/users/wuomzfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuomzfx/subscriptions","organizations_url":"https://api.github.com/users/wuomzfx/orgs","repos_url":"https://api.github.com/users/wuomzfx/repos","events_url":"https://api.github.com/users/wuomzfx/events{/privacy}","received_events_url":"https://api.github.com/users/wuomzfx/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T01:42:34Z","updated_at":"2018-05-08T01:42:34Z","author_association":"OWNER","body":"buildError 那段代码，我也是直接从uglifyjs那边copy过来的，RequestShortener这种内部工具方法，估计就是没有什么文档的。RequestShortener可能是抛错时，将出错时的代码资源精简显示。我觉得这些不是关键部分大致看下就好了。真的想研究下的话，可以去跑跑代码看它真的干了什么。"}}
{"actor":{"display_login":"wuomzfx"}}