{"action":"created","issue":{"url":"https://api.github.com/repos/liferay/liferay-themes-sdk/issues/83","repository_url":"https://api.github.com/repos/liferay/liferay-themes-sdk","labels_url":"https://api.github.com/repos/liferay/liferay-themes-sdk/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/liferay/liferay-themes-sdk/issues/83/comments","events_url":"https://api.github.com/repos/liferay/liferay-themes-sdk/issues/83/events","html_url":"https://github.com/liferay/liferay-themes-sdk/issues/83","id":356506574,"node_id":"MDU6SXNzdWUzNTY1MDY1NzQ=","number":83,"title":"Programatically created Bourbon file breaks sourcemap","user":{"login":"sbaechler","id":288516,"node_id":"MDQ6VXNlcjI4ODUxNg==","avatar_url":"https://avatars1.githubusercontent.com/u/288516?v=4","gravatar_id":"","url":"https://api.github.com/users/sbaechler","html_url":"https://github.com/sbaechler","followers_url":"https://api.github.com/users/sbaechler/followers","following_url":"https://api.github.com/users/sbaechler/following{/other_user}","gists_url":"https://api.github.com/users/sbaechler/gists{/gist_id}","starred_url":"https://api.github.com/users/sbaechler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbaechler/subscriptions","organizations_url":"https://api.github.com/users/sbaechler/orgs","repos_url":"https://api.github.com/users/sbaechler/repos","events_url":"https://api.github.com/users/sbaechler/events{/privacy}","received_events_url":"https://api.github.com/users/sbaechler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-03T13:28:59Z","updated_at":"2018-09-03T13:44:36Z","closed_at":null,"author_association":"NONE","body":"Currently, the 'createBuourbonFile' hack prevents css build hooks (like postcss) from parsing the sourcemap.\r\n\r\nWhen I try to read the generated CSS files with sourcemap I get the following error:\r\n\r\n```\r\nUnhandledPromiseRejectionWarning: Error: \"/node_modules/liferay-theme-tasks/tmp/_bourbon.scss\" is not in the SourceMap.\r\n```\r\n\r\nMaybe there is a better way to deal with deprecated Mixins."},"comment":{"url":"https://api.github.com/repos/liferay/liferay-themes-sdk/issues/comments/418119891","html_url":"https://github.com/liferay/liferay-themes-sdk/issues/83#issuecomment-418119891","issue_url":"https://api.github.com/repos/liferay/liferay-themes-sdk/issues/83","id":418119891,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODExOTg5MQ==","user":{"login":"sbaechler","id":288516,"node_id":"MDQ6VXNlcjI4ODUxNg==","avatar_url":"https://avatars1.githubusercontent.com/u/288516?v=4","gravatar_id":"","url":"https://api.github.com/users/sbaechler","html_url":"https://github.com/sbaechler","followers_url":"https://api.github.com/users/sbaechler/followers","following_url":"https://api.github.com/users/sbaechler/following{/other_user}","gists_url":"https://api.github.com/users/sbaechler/gists{/gist_id}","starred_url":"https://api.github.com/users/sbaechler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbaechler/subscriptions","organizations_url":"https://api.github.com/users/sbaechler/orgs","repos_url":"https://api.github.com/users/sbaechler/repos","events_url":"https://api.github.com/users/sbaechler/events{/privacy}","received_events_url":"https://api.github.com/users/sbaechler/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T13:44:36Z","updated_at":"2018-09-03T13:44:36Z","author_association":"NONE","body":"It somehow works when I set `{ loadMaps: false }` to `sourcemaps.init()`. The generated sourcemaps reference the correct sources. However, loadMaps should work.\r\n\r\n"}}
{"actor":{"display_login":"sbaechler"}}