{"action":"created","issue":{"url":"https://api.github.com/repos/snowplow/snowplow-javascript-tracker/issues/450","repository_url":"https://api.github.com/repos/snowplow/snowplow-javascript-tracker","labels_url":"https://api.github.com/repos/snowplow/snowplow-javascript-tracker/issues/450/labels{/name}","comments_url":"https://api.github.com/repos/snowplow/snowplow-javascript-tracker/issues/450/comments","events_url":"https://api.github.com/repos/snowplow/snowplow-javascript-tracker/issues/450/events","html_url":"https://github.com/snowplow/snowplow-javascript-tracker/issues/450","id":132491390,"number":450,"title":"Provide custom build script","user":{"login":"christoph-buente","id":36998,"avatar_url":"https://avatars.githubusercontent.com/u/36998?v=3","gravatar_id":"","url":"https://api.github.com/users/christoph-buente","html_url":"https://github.com/christoph-buente","followers_url":"https://api.github.com/users/christoph-buente/followers","following_url":"https://api.github.com/users/christoph-buente/following{/other_user}","gists_url":"https://api.github.com/users/christoph-buente/gists{/gist_id}","starred_url":"https://api.github.com/users/christoph-buente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christoph-buente/subscriptions","organizations_url":"https://api.github.com/users/christoph-buente/orgs","repos_url":"https://api.github.com/users/christoph-buente/repos","events_url":"https://api.github.com/users/christoph-buente/events{/privacy}","received_events_url":"https://api.github.com/users/christoph-buente/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-09T18:13:46Z","updated_at":"2016-02-10T09:06:52Z","closed_at":null,"body":"The full js tracker comes to a whopping 67k minified. Having this fat js deployed on a customers website can be a show stopper. Can you provide a build script to strip out optional features to minify the file size? Maybe also switching from grunt-yui-compressor to grunt-contrib-uglify might result in a better compression."},"comment":{"url":"https://api.github.com/repos/snowplow/snowplow-javascript-tracker/issues/comments/182265663","html_url":"https://github.com/snowplow/snowplow-javascript-tracker/issues/450#issuecomment-182265663","issue_url":"https://api.github.com/repos/snowplow/snowplow-javascript-tracker/issues/450","id":182265663,"user":{"login":"fblundun","id":5892914,"avatar_url":"https://avatars.githubusercontent.com/u/5892914?v=3","gravatar_id":"","url":"https://api.github.com/users/fblundun","html_url":"https://github.com/fblundun","followers_url":"https://api.github.com/users/fblundun/followers","following_url":"https://api.github.com/users/fblundun/following{/other_user}","gists_url":"https://api.github.com/users/fblundun/gists{/gist_id}","starred_url":"https://api.github.com/users/fblundun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fblundun/subscriptions","organizations_url":"https://api.github.com/users/fblundun/orgs","repos_url":"https://api.github.com/users/fblundun/repos","events_url":"https://api.github.com/users/fblundun/events{/privacy}","received_events_url":"https://api.github.com/users/fblundun/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T09:06:52Z","updated_at":"2016-02-10T09:06:52Z","body":"I agree - for example, people who don't need to use form tracking could probably survive without the [forms.js file](https://github.com/snowplow/snowplow-javascript-tracker/blob/f7047658fbb6bc6ad235e1f6faeca8cc0bf34da0/src/js/forms.js).\r\n\r\nOn the choice of minifier: we originally chose to use grunt-yui-compressor because grunt-contrib-uglify has problems with certain non-printable characters ([source](https://github.com/mathiasbynens/grunt-yui-compressor#why-not-just-use-grunts-built-in-min-task-to-minify-javascript)). As far as I know this hasn't changed since."}}