{"action":"closed","issue":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4440","repository_url":"https://api.github.com/repos/nuxt/nuxt.js","labels_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4440/labels{/name}","comments_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4440/comments","events_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4440/events","html_url":"https://github.com/nuxt/nuxt.js/issues/4440","id":385169902,"node_id":"MDU6SXNzdWUzODUxNjk5MDI=","number":4440,"title":"有关于extractCss的问题","user":{"login":"jochouen","id":10725284,"node_id":"MDQ6VXNlcjEwNzI1Mjg0","avatar_url":"https://avatars0.githubusercontent.com/u/10725284?v=4","gravatar_id":"","url":"https://api.github.com/users/jochouen","html_url":"https://github.com/jochouen","followers_url":"https://api.github.com/users/jochouen/followers","following_url":"https://api.github.com/users/jochouen/following{/other_user}","gists_url":"https://api.github.com/users/jochouen/gists{/gist_id}","starred_url":"https://api.github.com/users/jochouen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jochouen/subscriptions","organizations_url":"https://api.github.com/users/jochouen/orgs","repos_url":"https://api.github.com/users/jochouen/repos","events_url":"https://api.github.com/users/jochouen/events{/privacy}","received_events_url":"https://api.github.com/users/jochouen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T09:15:08Z","updated_at":"2018-11-28T09:15:10Z","closed_at":"2018-11-28T09:15:10Z","author_association":"NONE","body":"<!--\r\n🚨 IMPORTANT 🚨\r\n\r\nPlease use the following link to create a new issue:\r\n\r\n- 🚨 Bug report - https://bug.nuxtjs.org/ \r\n- 🙋 Feature request - https://feature.nuxtjs.org/ \r\n- ❗️ All other issues - https://cmty.nuxtjs.org/ \r\n\r\nIf your issue was not created using the app above, **it will be closed immediately**.\r\n-->\r\n\r\nversion: 2.3.2\r\n我在nuxt.config.js里设置了extractCSS: true\r\n\r\n最后用generate，但是我得到的结果是这样的\r\n\r\ntest.html\r\n```\r\n<link rel=\"stylesheet\" href=\"/_nuxt/app.css\">\r\n<link rel=\"stylesheet\" href=\"/_nuxt/pages/index.css\">\r\n<link rel=\"stylesheet\" href=\"/_nuxt/pages/test.css\">\r\n<link rel=\"stylesheet\" href=\"/_nuxt/pages/users/_id.css\">\r\n```\r\n\r\n因为是test.html\r\n所以index.css, users/_id.css我不想被导入这个页面，我想要的结果是\r\n```\r\n<link rel=\"stylesheet\" href=\"/_nuxt/app.css\"> <- 这个是共同的css\r\n<link rel=\"stylesheet\" href=\"/_nuxt/pages/test.css\"> <－ 这个是只有在test.html用到的css\r\n```\r\n\r\n我该如何做？\r\n\r\n我也试了extract-text-webpack-plugin这个插件，但是出现错误，还有没有更好的办法来解决这个问题？\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"cmty"}}