{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs-templates/webpack/issues/563","repository_url":"https://api.github.com/repos/vuejs-templates/webpack","labels_url":"https://api.github.com/repos/vuejs-templates/webpack/issues/563/labels{/name}","comments_url":"https://api.github.com/repos/vuejs-templates/webpack/issues/563/comments","events_url":"https://api.github.com/repos/vuejs-templates/webpack/issues/563/events","html_url":"https://github.com/vuejs-templates/webpack/issues/563","id":211075834,"number":563,"title":"Error with image paths (SASS files)","user":{"login":"gstrobl","id":8993732,"avatar_url":"https://avatars0.githubusercontent.com/u/8993732?v=4","gravatar_id":"","url":"https://api.github.com/users/gstrobl","html_url":"https://github.com/gstrobl","followers_url":"https://api.github.com/users/gstrobl/followers","following_url":"https://api.github.com/users/gstrobl/following{/other_user}","gists_url":"https://api.github.com/users/gstrobl/gists{/gist_id}","starred_url":"https://api.github.com/users/gstrobl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gstrobl/subscriptions","organizations_url":"https://api.github.com/users/gstrobl/orgs","repos_url":"https://api.github.com/users/gstrobl/repos","events_url":"https://api.github.com/users/gstrobl/events{/privacy}","received_events_url":"https://api.github.com/users/gstrobl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-03-01T13:06:15Z","updated_at":"2017-10-06T18:57:13Z","closed_at":"2017-03-01T15:42:56Z","author_association":"NONE","body":"Hey,\r\nI installed sass-loader and sass-node and everthing works fine, but I have problems with my image paths. I always get this error: `Module not found: Error: Can't resolve './assets/images/background_test.jpg' in 'D:\\webprojects\\gs-portfolio\\src\\components\\pages'\r\n @ ./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=data-v-44c827be!./~/sass-loader/lib/loader.js!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/pages/Home.vue 6:73-119`\r\n\r\nThis is my folder structure:\r\nassets\r\n-images\r\n--background_test.jpg\r\n-styles\r\n--main.scss\r\n\r\nI didn't changed my webpack config file, I'm very in webpack."},"comment":{"url":"https://api.github.com/repos/vuejs-templates/webpack/issues/comments/334841371","html_url":"https://github.com/vuejs-templates/webpack/issues/563#issuecomment-334841371","issue_url":"https://api.github.com/repos/vuejs-templates/webpack/issues/563","id":334841371,"user":{"login":"joohncruz","id":7672428,"avatar_url":"https://avatars2.githubusercontent.com/u/7672428?v=4","gravatar_id":"","url":"https://api.github.com/users/joohncruz","html_url":"https://github.com/joohncruz","followers_url":"https://api.github.com/users/joohncruz/followers","following_url":"https://api.github.com/users/joohncruz/following{/other_user}","gists_url":"https://api.github.com/users/joohncruz/gists{/gist_id}","starred_url":"https://api.github.com/users/joohncruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joohncruz/subscriptions","organizations_url":"https://api.github.com/users/joohncruz/orgs","repos_url":"https://api.github.com/users/joohncruz/repos","events_url":"https://api.github.com/users/joohncruz/events{/privacy}","received_events_url":"https://api.github.com/users/joohncruz/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T18:57:13Z","updated_at":"2017-10-06T18:57:13Z","author_association":"NONE","body":"I have the same problem, I tried to replicate the problem in the project https://github.com/joohncruz/poc-vuejs-webpack-global-style.\r\n\r\n- src\r\n  - assets\r\n    - icons (ico_atalho.png)\r\n  - components\r\n    - Hello \r\n    <div class=\"teste-url\">BB</div>\r\n - style\r\n    - styles.scss \r\n\r\nstyles.scss \r\n$auxiliary-color: #1EB6CD ;\r\n\r\n.teste-url {\r\n  background: $primary-color;\r\n  background-image: url('./assets/icons/ico_atalho.png'):\r\n}\r\n\r\nError response: \r\n\r\nurl('./assets/icons/ico_atalho.png'):  Error response\r\n```\r\nThis relative module was not found:\r\n\r\n* ./assets/icons/ico_atalho.png in ./~/css-loader?{\"minimize\":false,\"sourceMap\":false}!./~/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-059a7fc7\",\"scoped\":false,\"hasInlineConfig\":false}!./~/sass-loader/lib/loader.js?{\"sourceMap\":false}!./~/sass-resources-loader/lib/loader.js?{\"resources\":\"D://Projetos//github//poc-vuejs-webpack-global-style//src//assets//styles.scss\"}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/Hello.vue\r\n```\r\n"}}
{"actor":{"display_login":"joohncruz"}}