{"action":"created","issue":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4422","repository_url":"https://api.github.com/repos/nuxt/nuxt.js","labels_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4422/labels{/name}","comments_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4422/comments","events_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4422/events","html_url":"https://github.com/nuxt/nuxt.js/pull/4422","id":384321707,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNTUwNjc1","number":4422,"title":"feat(modern): auto detect modern mode","user":{"login":"clarkdo","id":4312154,"node_id":"MDQ6VXNlcjQzMTIxNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4312154?v=4","gravatar_id":"","url":"https://api.github.com/users/clarkdo","html_url":"https://github.com/clarkdo","followers_url":"https://api.github.com/users/clarkdo/followers","following_url":"https://api.github.com/users/clarkdo/following{/other_user}","gists_url":"https://api.github.com/users/clarkdo/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkdo/subscriptions","organizations_url":"https://api.github.com/users/clarkdo/orgs","repos_url":"https://api.github.com/users/clarkdo/repos","events_url":"https://api.github.com/users/clarkdo/events{/privacy}","received_events_url":"https://api.github.com/users/clarkdo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-26T13:05:07Z","updated_at":"2018-11-30T16:47:23Z","closed_at":"2018-11-26T22:49:48Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/nuxt/nuxt.js/pulls/4422","html_url":"https://github.com/nuxt/nuxt.js/pull/4422","diff_url":"https://github.com/nuxt/nuxt.js/pull/4422.diff","patch_url":"https://github.com/nuxt/nuxt.js/pull/4422.patch"},"body":"<!--- Provide a general summary of your changes in the title above -->\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (a non-breaking change which fixes an issue)\r\n- [x] New feature (a non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\n<!--- Why is this change required? What problem does it solve? -->\r\n<!--- If it resolves an open issue, please link to the issue here. For example \"Resolves: #1337\" -->\r\n\r\nIf user doesn't specify `modern` in `command` and `nuxt.config.js`, a middleware will detect by if there is modern built asset in dist:\r\n1. ssr: server\r\n1. spa: client\r\n1. no modern assets: false\r\n\r\n## Checklist:\r\n<!--- Put an `x` in all the boxes that apply. -->\r\n<!--- If your change requires a documentation PR, please link it appropriately -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly. (PR: #)\r\n- [ ] I have added tests to cover my changes (if not applicable, please state why)\r\n- [ ] All new and existing tests are passing.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/comments/443264890","html_url":"https://github.com/nuxt/nuxt.js/pull/4422#issuecomment-443264890","issue_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4422","id":443264890,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzI2NDg5MA==","user":{"login":"clarkdo","id":4312154,"node_id":"MDQ6VXNlcjQzMTIxNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4312154?v=4","gravatar_id":"","url":"https://api.github.com/users/clarkdo","html_url":"https://github.com/clarkdo","followers_url":"https://api.github.com/users/clarkdo/followers","following_url":"https://api.github.com/users/clarkdo/following{/other_user}","gists_url":"https://api.github.com/users/clarkdo/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkdo/subscriptions","organizations_url":"https://api.github.com/users/clarkdo/orgs","repos_url":"https://api.github.com/users/clarkdo/repos","events_url":"https://api.github.com/users/clarkdo/events{/privacy}","received_events_url":"https://api.github.com/users/clarkdo/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T16:47:23Z","updated_at":"2018-11-30T16:47:23Z","author_association":"MEMBER","body":"Resolve #4422"}}
{"actor":{"display_login":"clarkdo"}}