{"action":"opened","issue":{"url":"https://api.github.com/repos/kossnocorp/assets-webpack-plugin/issues/87","repository_url":"https://api.github.com/repos/kossnocorp/assets-webpack-plugin","labels_url":"https://api.github.com/repos/kossnocorp/assets-webpack-plugin/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/kossnocorp/assets-webpack-plugin/issues/87/comments","events_url":"https://api.github.com/repos/kossnocorp/assets-webpack-plugin/issues/87/events","html_url":"https://github.com/kossnocorp/assets-webpack-plugin/issues/87","id":310347962,"number":87,"title":"list .gz files","user":{"login":"mojilla","id":5251461,"avatar_url":"https://avatars3.githubusercontent.com/u/5251461?v=4","gravatar_id":"","url":"https://api.github.com/users/mojilla","html_url":"https://github.com/mojilla","followers_url":"https://api.github.com/users/mojilla/followers","following_url":"https://api.github.com/users/mojilla/following{/other_user}","gists_url":"https://api.github.com/users/mojilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mojilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojilla/subscriptions","organizations_url":"https://api.github.com/users/mojilla/orgs","repos_url":"https://api.github.com/users/mojilla/repos","events_url":"https://api.github.com/users/mojilla/events{/privacy}","received_events_url":"https://api.github.com/users/mojilla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-01T19:35:27Z","updated_at":"2018-04-01T19:35:27Z","closed_at":null,"author_association":"NONE","body":"Hi and thanx for this great repo\r\nI wanna use CompressionPlugin for prod webpack config along with assets-webpack\r\nThe problem is the webpack-assets.json is only included js files not .gz files \r\n\r\nhow can achieve that?\r\n\r\n\r\n`\r\n\r\n    plugins: [\r\n        ...Base.plugins,\r\n        new AssetsPlugin({\r\n            path: path.resolve('./dist'),\r\n            filename: 'assets.json',\r\n            prettyPrint: true,\r\n        }),\r\n        new webpack.DefinePlugin({\r\n            'process.env': {\r\n                NODE_ENV: '\"production\"'\r\n            },\r\n            __CLIENT__: true,\r\n            __SERVER__: false,\r\n            __DEV__: false,\r\n        }),\r\n         new CompressionPlugin({\r\n             asset: '[path].gz[query]',\r\n             algorithm: 'gzip',\r\n             test: /\\.jsx?$|\\.css$|\\.(scss|sass)$|\\.html$/,\r\n             threshold: 8192,\r\n             minRatio: 0.8,\r\n             deleteOriginalAssets: true\r\n         }),\r\n    ]\r\n\r\n`\r\n"}}
{"actor":{"display_login":"mojilla"}}