{"action":"created","issue":{"url":"https://api.github.com/repos/jantimon/html-webpack-plugin/issues/1029","repository_url":"https://api.github.com/repos/jantimon/html-webpack-plugin","labels_url":"https://api.github.com/repos/jantimon/html-webpack-plugin/issues/1029/labels{/name}","comments_url":"https://api.github.com/repos/jantimon/html-webpack-plugin/issues/1029/comments","events_url":"https://api.github.com/repos/jantimon/html-webpack-plugin/issues/1029/events","html_url":"https://github.com/jantimon/html-webpack-plugin/issues/1029","id":352034422,"node_id":"MDU6SXNzdWUzNTIwMzQ0MjI=","number":1029,"title":"mutil tempaltes bug","user":{"login":"xgqfrms","id":7291672,"node_id":"MDQ6VXNlcjcyOTE2NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/7291672?v=4","gravatar_id":"","url":"https://api.github.com/users/xgqfrms","html_url":"https://github.com/xgqfrms","followers_url":"https://api.github.com/users/xgqfrms/followers","following_url":"https://api.github.com/users/xgqfrms/following{/other_user}","gists_url":"https://api.github.com/users/xgqfrms/gists{/gist_id}","starred_url":"https://api.github.com/users/xgqfrms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xgqfrms/subscriptions","organizations_url":"https://api.github.com/users/xgqfrms/orgs","repos_url":"https://api.github.com/users/xgqfrms/repos","events_url":"https://api.github.com/users/xgqfrms/events{/privacy}","received_events_url":"https://api.github.com/users/xgqfrms/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-08-20T08:31:15Z","updated_at":"2018-09-22T21:17:14Z","closed_at":"2018-08-22T11:29:04Z","author_association":"NONE","body":"# mutil tempaltes bug\r\n\r\n![image](https://user-images.githubusercontent.com/7291672/44328808-38832000-a495-11e8-8d94-6545606524d0.png)\r\n\r\n```json\r\n\r\n{\r\n    \"name\": \"webpack-bug\",\r\n    \"version\": \"1.0.0\",\r\n    \"description\": \"bug\",\r\n    \"main\": \"index.js\",\r\n    \"scripts\": {\r\n        \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n        \"app\": \"webpack -w -p\",\r\n        \"dev\": \"webpack -p\"\r\n    },\r\n    \"private\": true,\r\n    \"bin\": {\r\n        \"app\": \"app\"\r\n    },\r\n    \"keywords\": [\r\n        \"bug\"\r\n    ],\r\n    \"author\": \"xgqfrms\",\r\n    \"license\": \"MIT\",\r\n    \"devDependencies\": {\r\n        \"html-webpack-plugin\": \"^3.2.0\",\r\n        \"webpack\": \"^4.16.5\",\r\n        \"webpack-cli\": \"^3.1.0\"\r\n    }\r\n}\r\n\r\n\r\n```\r\n\r\n```js\r\n\r\n\"use strict\";\r\n\r\n/**\r\n * \r\n * @author xgqfrms\r\n * @license MIT\r\n * @copyright xgqfrms\r\n * \r\n * @description bug\r\n * @augments \r\n * @example \r\n * \r\n */\r\n\r\nconst path = require(\"path\");\r\nconst webpack = require(\"webpack\");\r\nconst HtmlWebpackPlugin = require(\"html-webpack-plugin\");\r\n// const UglifyJSPlugin = require(\"uglifyjs-webpack-plugin\");\r\n// const CleanWebpackPlugin = require(\"clean-webpack-plugin\");\r\n// const ExtractTextPlugin = require(\"extract-text-webpack-plugin\");\r\n// const CopyWebpackPlugin = require(\"copy-webpack-plugin\");\r\n\r\nmodule.exports = {\r\n    entry: {\r\n        app: \"./src/js/app.js\",\r\n        main: \"./src/js/main.js\",\r\n    },\r\n    output: {\r\n        path: __dirname,\r\n        filename: \"./build/js/[name].min.js\"\r\n    },\r\n    plugins: [\r\n        new HtmlWebpackPlugin({\r\n            inject: false,\r\n            hash: true,\r\n            chunks: [\"app\"],\r\n            template: \"./src/template/app.html\",\r\n            filename: \"./build/pages/[name].html\"\r\n        }),\r\n        new HtmlWebpackPlugin({\r\n            inject: false,\r\n            hash: true,\r\n            chunks: [\"main\"],\r\n            template: \"./src/template/main.html\",\r\n            filename: \"./build/pages/[name].html\"\r\n        }),\r\n    ]\r\n};\r\n\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jantimon/html-webpack-plugin/issues/comments/423774089","html_url":"https://github.com/jantimon/html-webpack-plugin/issues/1029#issuecomment-423774089","issue_url":"https://api.github.com/repos/jantimon/html-webpack-plugin/issues/1029","id":423774089,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzc3NDA4OQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-09-22T21:17:14Z","updated_at":"2018-09-22T21:17:14Z","author_association":"NONE","body":"This issue has been automatically locked since there has not been any recent activity after it was closed. Please [open a new issue](https://github.com/jantimon/html-webpack-plugin/issues/new) for related bugs.\n"}}
{"actor":{"display_login":"lock"}}