{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/215","labels_url":"https://api.github.com/repos/webpack/webpack/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/215/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/215/events","html_url":"https://github.com/webpack/webpack/issues/215","id":30367142,"number":215,"title":"CSS resolving order","user":{"login":"gunta","id":657059,"avatar_url":"https://avatars.githubusercontent.com/u/657059?v=3","gravatar_id":"","url":"https://api.github.com/users/gunta","html_url":"https://github.com/gunta","followers_url":"https://api.github.com/users/gunta/followers","following_url":"https://api.github.com/users/gunta/following{/other_user}","gists_url":"https://api.github.com/users/gunta/gists{/gist_id}","starred_url":"https://api.github.com/users/gunta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunta/subscriptions","organizations_url":"https://api.github.com/users/gunta/orgs","repos_url":"https://api.github.com/users/gunta/repos","events_url":"https://api.github.com/users/gunta/events{/privacy}","received_events_url":"https://api.github.com/users/gunta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/webpack/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-03-28T07:12:03Z","updated_at":"2015-06-13T01:03:43Z","closed_at":"2014-05-08T08:07:53Z","body":"Hi!\r\n\r\nI have two files\r\n```javascript\r\nrequire('bootstrap.css')\r\nrequire('./myfile.css')\r\n```\r\n\r\nwhere the file `bootstrap.css` **needs** to be loaded before `./myfile.css`.\r\nIs there any way to do set the CSS resolving order properly in webpack for CSS?"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/111649761","html_url":"https://github.com/webpack/webpack/issues/215#issuecomment-111649761","issue_url":"https://api.github.com/repos/webpack/webpack/issues/215","id":111649761,"user":{"login":"raypatterson","id":1051626,"avatar_url":"https://avatars.githubusercontent.com/u/1051626?v=3","gravatar_id":"","url":"https://api.github.com/users/raypatterson","html_url":"https://github.com/raypatterson","followers_url":"https://api.github.com/users/raypatterson/followers","following_url":"https://api.github.com/users/raypatterson/following{/other_user}","gists_url":"https://api.github.com/users/raypatterson/gists{/gist_id}","starred_url":"https://api.github.com/users/raypatterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raypatterson/subscriptions","organizations_url":"https://api.github.com/users/raypatterson/orgs","repos_url":"https://api.github.com/users/raypatterson/repos","events_url":"https://api.github.com/users/raypatterson/events{/privacy}","received_events_url":"https://api.github.com/users/raypatterson/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T01:03:43Z","updated_at":"2015-06-13T01:03:43Z","body":"Finding this only happens on rebuilds.\r\n\r\nMy workaround it to have an entry point for each \"module\" that has SASS dependencies.\r\n\r\n```\r\n/* my-module/index.js */\r\n\r\nrequire('./index.sass');\r\n\r\n/* my-module/index.sass */\r\n\r\n@import 'sass-dependency-a';\r\n@import 'sass-dependency-b';\r\n```"}}