{"action":"closed","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/4845","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/4845/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/4845/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/4845/events","html_url":"https://github.com/zeit/next.js/issues/4845","id":344696432,"node_id":"MDU6SXNzdWUzNDQ2OTY0MzI=","number":4845,"title":"`next build` doesn't build CSS into output directory.","user":{"login":"chilijung","id":1216029,"node_id":"MDQ6VXNlcjEyMTYwMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/1216029?v=4","gravatar_id":"","url":"https://api.github.com/users/chilijung","html_url":"https://github.com/chilijung","followers_url":"https://api.github.com/users/chilijung/followers","following_url":"https://api.github.com/users/chilijung/following{/other_user}","gists_url":"https://api.github.com/users/chilijung/gists{/gist_id}","starred_url":"https://api.github.com/users/chilijung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chilijung/subscriptions","organizations_url":"https://api.github.com/users/chilijung/orgs","repos_url":"https://api.github.com/users/chilijung/repos","events_url":"https://api.github.com/users/chilijung/events{/privacy}","received_events_url":"https://api.github.com/users/chilijung/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-26T05:06:13Z","updated_at":"2018-07-26T10:17:39Z","closed_at":"2018-07-26T10:17:39Z","author_association":"NONE","body":"# Bug report\r\n\r\n## Describe the bug\r\n\r\nWhen using `@zeit/next-css` in `next.config.js`, in dev mode the CSS successfully built into `.next/static/style.css` but when using `next build` to build static version of the app will not generate `.next/static/style.css` in the directory.\r\n\r\n## To Reproduce\r\n\r\nYou could reproduce this error in this demo https://github.com/Canner/canner-demo/tree/master/nextjs-ecom-with-firebase\r\n\r\n`next.config.js` is located: https://github.com/Canner/canner-demo/blob/master/nextjs-ecom-with-firebase/functions/next.config.js\r\n\r\nSteps to reproduce the behavior, please provide code snippets or a repository:\r\n1. run `npm run dev` in dev mode css is generated.\r\n\r\n<img width=\"193\" alt=\"screen shot 2018-07-26 at 1 02 29 pm\" src=\"https://user-images.githubusercontent.com/1216029/43242546-3e8db886-90d4-11e8-9aa3-db89f547f8fa.png\">\r\n\r\n2, run `./node_modules/.bin/next build` css is NOT generated in output directory.\r\n\r\n<img width=\"195\" alt=\"screen shot 2018-07-26 at 1 06 33 pm\" src=\"https://user-images.githubusercontent.com/1216029/43242627-c0bf59c2-90d4-11e8-8a34-d596142869bc.png\">\r\n\r\n\r\n## Expected behavior\r\nWhen entering `next build` in output folder it should also generate CSS files.\r\n\r\n## System information\r\n - OS: [e.g. macOS, Windows]: mac\r\n - Browser (if applies) [e.g. chrome, safari]: chrome\r\n - Version of Next.js: [e.g. 6.0.2]: 6.1.1\r\n\r\n## Additional context\r\n\r\nAdd any other context about the problem here.\r\n"}}
{"actor":{"display_login":"timneutkens"}}