{"action":"created","issue":{"url":"https://api.github.com/repos/jtangelder/sass-loader/issues/49","repository_url":"https://api.github.com/repos/jtangelder/sass-loader","labels_url":"https://api.github.com/repos/jtangelder/sass-loader/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/jtangelder/sass-loader/issues/49/comments","events_url":"https://api.github.com/repos/jtangelder/sass-loader/issues/49/events","html_url":"https://github.com/jtangelder/sass-loader/issues/49","id":57026049,"number":49,"title":"Pass variables to scss files","user":{"login":"nwhite89","id":1407863,"avatar_url":"https://avatars.githubusercontent.com/u/1407863?v=3","gravatar_id":"","url":"https://api.github.com/users/nwhite89","html_url":"https://github.com/nwhite89","followers_url":"https://api.github.com/users/nwhite89/followers","following_url":"https://api.github.com/users/nwhite89/following{/other_user}","gists_url":"https://api.github.com/users/nwhite89/gists{/gist_id}","starred_url":"https://api.github.com/users/nwhite89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwhite89/subscriptions","organizations_url":"https://api.github.com/users/nwhite89/orgs","repos_url":"https://api.github.com/users/nwhite89/repos","events_url":"https://api.github.com/users/nwhite89/events{/privacy}","received_events_url":"https://api.github.com/users/nwhite89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-02-09T12:46:12Z","updated_at":"2016-05-12T07:28:12Z","closed_at":null,"body":"I'm wanting to pass variables from webpack to the scss files, for example opacity is able to be changed by a user and stored in the db. Ideally I'd pass the variable same way as you do to JS files via webpack and pass them straight through to the SCSS files before compilation."},"comment":{"url":"https://api.github.com/repos/jtangelder/sass-loader/issues/comments/218680661","html_url":"https://github.com/jtangelder/sass-loader/issues/49#issuecomment-218680661","issue_url":"https://api.github.com/repos/jtangelder/sass-loader/issues/49","id":218680661,"user":{"login":"jhnns","id":781746,"avatar_url":"https://avatars.githubusercontent.com/u/781746?v=3","gravatar_id":"","url":"https://api.github.com/users/jhnns","html_url":"https://github.com/jhnns","followers_url":"https://api.github.com/users/jhnns/followers","following_url":"https://api.github.com/users/jhnns/following{/other_user}","gists_url":"https://api.github.com/users/jhnns/gists{/gist_id}","starred_url":"https://api.github.com/users/jhnns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhnns/subscriptions","organizations_url":"https://api.github.com/users/jhnns/orgs","repos_url":"https://api.github.com/users/jhnns/repos","events_url":"https://api.github.com/users/jhnns/events{/privacy}","received_events_url":"https://api.github.com/users/jhnns/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T07:28:12Z","updated_at":"2016-05-12T07:28:12Z","body":"> It's a bit confusing where to options, query params or sassLoader\r\n\r\nI know... this will be simpler with webpack 2 where there is a dedicated way to set the options (query params didn't work so well with more complex use-cases)."}}