{"action":"created","issue":{"url":"https://api.github.com/repos/lasso-js/lasso/issues/84","labels_url":"https://api.github.com/repos/lasso-js/lasso/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/lasso-js/lasso/issues/84/comments","events_url":"https://api.github.com/repos/lasso-js/lasso/issues/84/events","html_url":"https://github.com/lasso-js/lasso/issues/84","id":113404853,"number":84,"title":"Handle minification separately for inline resources","user":{"login":"yomed","id":3595986,"avatar_url":"https://avatars.githubusercontent.com/u/3595986?v=3","gravatar_id":"","url":"https://api.github.com/users/yomed","html_url":"https://github.com/yomed","followers_url":"https://api.github.com/users/yomed/followers","following_url":"https://api.github.com/users/yomed/following{/other_user}","gists_url":"https://api.github.com/users/yomed/gists{/gist_id}","starred_url":"https://api.github.com/users/yomed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yomed/subscriptions","organizations_url":"https://api.github.com/users/yomed/orgs","repos_url":"https://api.github.com/users/yomed/repos","events_url":"https://api.github.com/users/yomed/events{/privacy}","received_events_url":"https://api.github.com/users/yomed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-26T17:14:00Z","updated_at":"2015-10-27T16:19:30Z","closed_at":null,"body":"I am not using the lasso minification, and instead relying on a plugin to upload the resources to a CDN which handles minification. However, for resources that are not uploaded to the CDN (inline js), I would like to be able to use lasso minification. Currently the config `minify` setting applies to all resources, so I can't use it. \r\n\r\nWould it make sense to add additional lasso options for more granularity in minification? Or would a plugin be the better route?"},"comment":{"url":"https://api.github.com/repos/lasso-js/lasso/issues/comments/151556381","html_url":"https://github.com/lasso-js/lasso/issues/84#issuecomment-151556381","issue_url":"https://api.github.com/repos/lasso-js/lasso/issues/84","id":151556381,"user":{"login":"patrick-steele-idem","id":978214,"avatar_url":"https://avatars.githubusercontent.com/u/978214?v=3","gravatar_id":"","url":"https://api.github.com/users/patrick-steele-idem","html_url":"https://github.com/patrick-steele-idem","followers_url":"https://api.github.com/users/patrick-steele-idem/followers","following_url":"https://api.github.com/users/patrick-steele-idem/following{/other_user}","gists_url":"https://api.github.com/users/patrick-steele-idem/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-steele-idem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-steele-idem/subscriptions","organizations_url":"https://api.github.com/users/patrick-steele-idem/orgs","repos_url":"https://api.github.com/users/patrick-steele-idem/repos","events_url":"https://api.github.com/users/patrick-steele-idem/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-steele-idem/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T16:19:30Z","updated_at":"2015-10-27T16:19:30Z","body":"Multiple `shouldMinify` functions is an edge case but I think that can be reasonably accommodated by defining the rules and maybe allowing each `shouldMinify()` to return one of three values:\r\n\r\n- `undefined` - don't care, use default\r\n- `false` - definitely don't minify \r\n- `true` - minify as long as no  other `shouldMinify` returned `false`\r\n\r\nSeem reasonable?"}}