{"action":"created","issue":{"url":"https://api.github.com/repos/bdkjones/CodeKit/issues/534","labels_url":"https://api.github.com/repos/bdkjones/CodeKit/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/bdkjones/CodeKit/issues/534/comments","events_url":"https://api.github.com/repos/bdkjones/CodeKit/issues/534/events","html_url":"https://github.com/bdkjones/CodeKit/issues/534","id":62710740,"number":534,"title":"Question: Any way to compile LESS to two CSS files automatically?!","user":{"login":"raphaelkross","id":8137207,"avatar_url":"https://avatars.githubusercontent.com/u/8137207?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaelkross","html_url":"https://github.com/raphaelkross","followers_url":"https://api.github.com/users/raphaelkross/followers","following_url":"https://api.github.com/users/raphaelkross/following{/other_user}","gists_url":"https://api.github.com/users/raphaelkross/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelkross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelkross/subscriptions","organizations_url":"https://api.github.com/users/raphaelkross/orgs","repos_url":"https://api.github.com/users/raphaelkross/repos","events_url":"https://api.github.com/users/raphaelkross/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelkross/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-18T14:43:47Z","updated_at":"2015-03-18T17:50:18Z","closed_at":"2015-03-18T17:50:18Z","body":"Hi!\r\n\r\nI have one question, I hope you guys can help me. I have one CSS file and I need the output generated by CodeKit be saved in two files.\r\n\r\nLet's say my file is named: styles.less - I would like to have two compiled files:\r\n\r\n- styles.css - uncompressed version\r\n- styles.min.css - compressed version\r\n\r\nIt's possible configure CodeKit to do it automatically?!\r\n\r\nKind Regards,\r\nRafael"},"comment":{"url":"https://api.github.com/repos/bdkjones/CodeKit/issues/comments/83089212","html_url":"https://github.com/bdkjones/CodeKit/issues/534#issuecomment-83089212","issue_url":"https://api.github.com/repos/bdkjones/CodeKit/issues/534","id":83089212,"user":{"login":"bdkjones","id":926566,"avatar_url":"https://avatars.githubusercontent.com/u/926566?v=3","gravatar_id":"","url":"https://api.github.com/users/bdkjones","html_url":"https://github.com/bdkjones","followers_url":"https://api.github.com/users/bdkjones/followers","following_url":"https://api.github.com/users/bdkjones/following{/other_user}","gists_url":"https://api.github.com/users/bdkjones/gists{/gist_id}","starred_url":"https://api.github.com/users/bdkjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdkjones/subscriptions","organizations_url":"https://api.github.com/users/bdkjones/orgs","repos_url":"https://api.github.com/users/bdkjones/repos","events_url":"https://api.github.com/users/bdkjones/events{/privacy}","received_events_url":"https://api.github.com/users/bdkjones/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T17:50:18Z","updated_at":"2015-03-18T17:50:18Z","body":"With Source Maps, the need for this sort of thing is vastly eliminated. You can just output compressed CSS and use the Source Map to see your original Less code in the browser's web inspector.\r\n\r\nI am aware that the current version of Less doesn't support maps with compressed output, but I think that will be resolved in the next update (hopefully; that's the Less team's area).\r\n\r\nIf you really want to do this, create two \"master\" Less files that each import \"styles.less\". Set one master file to compile compressed and other uncompressed. When you change styles.less, both master files will recompile to capture the changes."}}