{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-cli/issues/2184","repository_url":"https://api.github.com/repos/vuejs/vue-cli","labels_url":"https://api.github.com/repos/vuejs/vue-cli/issues/2184/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-cli/issues/2184/comments","events_url":"https://api.github.com/repos/vuejs/vue-cli/issues/2184/events","html_url":"https://github.com/vuejs/vue-cli/issues/2184","id":350115819,"node_id":"MDU6SXNzdWUzNTAxMTU4MTk=","number":2184,"title":"How to use splitChunks webpack system with vue cli 3?","user":{"login":"isaumya","id":2124755,"node_id":"MDQ6VXNlcjIxMjQ3NTU=","avatar_url":"https://avatars1.githubusercontent.com/u/2124755?v=4","gravatar_id":"","url":"https://api.github.com/users/isaumya","html_url":"https://github.com/isaumya","followers_url":"https://api.github.com/users/isaumya/followers","following_url":"https://api.github.com/users/isaumya/following{/other_user}","gists_url":"https://api.github.com/users/isaumya/gists{/gist_id}","starred_url":"https://api.github.com/users/isaumya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaumya/subscriptions","organizations_url":"https://api.github.com/users/isaumya/orgs","repos_url":"https://api.github.com/users/isaumya/repos","events_url":"https://api.github.com/users/isaumya/events{/privacy}","received_events_url":"https://api.github.com/users/isaumya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-13T17:09:24Z","updated_at":"2018-08-13T17:09:25Z","closed_at":"2018-08-13T17:09:25Z","author_association":"NONE","body":"Hi,\r\nI wanna use the `splitChunk` option of webpack. I've created the `vie.config.js` file and put the following in there:\r\n```javascript\r\nmodule.exports = {\r\n  configureWebpack: config => {\r\n\t\tif (process.env.NODE_ENV === 'production') {\r\n\t\t\tconfig.splitChunks = {\r\n\t\t\t\tcacheGroups: {\r\n\t\t\t\t\tnode_vendors: {\r\n\t\t\t\t\t\ttest: /[\\\\/]node_modules[\\\\/]/,\r\n\t\t\t\t\t\tchunks: \"all\",\r\n\t\t\t\t\t\tpriority: 1\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n  }\r\n}\r\n```\r\nBut when I build my app, nothing gets changed. I've also posted in stackoverflow: https://stackoverflow.com/questions/51816020/how-to-break-the-js-files-into-chunks-in-vue-cli-3-with-webpack-performance-obje/\r\nDid not get any help from there as well. Can anyone please reply?"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-cli/issues/comments/412592518","html_url":"https://github.com/vuejs/vue-cli/issues/2184#issuecomment-412592518","issue_url":"https://api.github.com/repos/vuejs/vue-cli/issues/2184","id":412592518,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjU5MjUxOA==","user":{"login":"vue-issue-bot","id":26507650,"node_id":"MDQ6VXNlcjI2NTA3NjUw","avatar_url":"https://avatars0.githubusercontent.com/u/26507650?v=4","gravatar_id":"","url":"https://api.github.com/users/vue-issue-bot","html_url":"https://github.com/vue-issue-bot","followers_url":"https://api.github.com/users/vue-issue-bot/followers","following_url":"https://api.github.com/users/vue-issue-bot/following{/other_user}","gists_url":"https://api.github.com/users/vue-issue-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/vue-issue-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vue-issue-bot/subscriptions","organizations_url":"https://api.github.com/users/vue-issue-bot/orgs","repos_url":"https://api.github.com/users/vue-issue-bot/repos","events_url":"https://api.github.com/users/vue-issue-bot/events{/privacy}","received_events_url":"https://api.github.com/users/vue-issue-bot/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T17:09:25Z","updated_at":"2018-08-13T17:09:25Z","author_association":"NONE","body":"Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the [Issue Helper](https://new-issue.vuejs.org/?repo=vuejs/vue-cli) when creating new issues. Thank you!\n"}}
{"actor":{"display_login":"vue-issue-bot"}}