{"action":"opened","issue":{"url":"https://api.github.com/repos/yyhappynice/webpack-zip-plugin/issues/4","repository_url":"https://api.github.com/repos/yyhappynice/webpack-zip-plugin","labels_url":"https://api.github.com/repos/yyhappynice/webpack-zip-plugin/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/yyhappynice/webpack-zip-plugin/issues/4/comments","events_url":"https://api.github.com/repos/yyhappynice/webpack-zip-plugin/issues/4/events","html_url":"https://github.com/yyhappynice/webpack-zip-plugin/issues/4","id":318638859,"number":4,"title":"how to zip with no dist prefix ","user":{"login":"cobola","id":4435875,"avatar_url":"https://avatars1.githubusercontent.com/u/4435875?v=4","gravatar_id":"","url":"https://api.github.com/users/cobola","html_url":"https://github.com/cobola","followers_url":"https://api.github.com/users/cobola/followers","following_url":"https://api.github.com/users/cobola/following{/other_user}","gists_url":"https://api.github.com/users/cobola/gists{/gist_id}","starred_url":"https://api.github.com/users/cobola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cobola/subscriptions","organizations_url":"https://api.github.com/users/cobola/orgs","repos_url":"https://api.github.com/users/cobola/repos","events_url":"https://api.github.com/users/cobola/events{/privacy}","received_events_url":"https://api.github.com/users/cobola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-28T13:57:30Z","updated_at":"2018-04-28T13:57:30Z","closed_at":null,"author_association":"NONE","body":"```\r\n new WebpackZipPlugin({\r\n      initialFile: './dist', //需要打包的文件夹(一般为dist)\r\n      endPath: './dist', //打包到对应目录（一般为当前目录'./'）\r\n      zipName: 'dist.zip' //打包生成的文件名\r\n    })\r\n```\r\n\r\nas example ,when unzip  dist.zip there is a dist subdirectory , i donnot want keep this subdirectory \r\n\r\nhow ?\r\n\r\n"}}
{"actor":{"display_login":"cobola"}}