{"action":"opened","issue":{"url":"https://api.github.com/repos/BookStackApp/BookStack/issues/453","repository_url":"https://api.github.com/repos/BookStackApp/BookStack","labels_url":"https://api.github.com/repos/BookStackApp/BookStack/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/BookStackApp/BookStack/issues/453/comments","events_url":"https://api.github.com/repos/BookStackApp/BookStack/issues/453/events","html_url":"https://github.com/BookStackApp/BookStack/issues/453","id":246272426,"number":453,"title":"npm run-script build does not minify common.js","user":{"login":"spaceraccoon","id":18413849,"avatar_url":"https://avatars0.githubusercontent.com/u/18413849?v=4","gravatar_id":"","url":"https://api.github.com/users/spaceraccoon","html_url":"https://github.com/spaceraccoon","followers_url":"https://api.github.com/users/spaceraccoon/followers","following_url":"https://api.github.com/users/spaceraccoon/following{/other_user}","gists_url":"https://api.github.com/users/spaceraccoon/gists{/gist_id}","starred_url":"https://api.github.com/users/spaceraccoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaceraccoon/subscriptions","organizations_url":"https://api.github.com/users/spaceraccoon/orgs","repos_url":"https://api.github.com/users/spaceraccoon/repos","events_url":"https://api.github.com/users/spaceraccoon/events{/privacy}","received_events_url":"https://api.github.com/users/spaceraccoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-28T07:47:11Z","updated_at":"2017-07-28T07:47:11Z","closed_at":null,"body":"* BookStack Version: Latest release\r\n* PHP Version: 7.0\r\n* MySQL Version: 5.7\r\n\r\n##### Expected Behavior\r\n1. Running npm run-script build should produce a minified common.js in public/js of about 800kb, similar to the one in release/the Github repository\r\n\r\n##### Actual Behavior\r\n1. This was on a completely clean AWS Ubuntu 16.04 EC2 instance with the installation script.\r\n2. After installing Bookstacks and Node/npm, I ran `npm run-script build` in the bookstack folder.\r\n3. The new common.js is huge (7.898MB) and causes a long load time. You can check it out at http://13.59.182.101/js/common.js?version=v0.17.3\r\n4. My node version is v8.2.1 and npm is 5.3.0\r\n"}}
{"actor":{"display_login":"spaceraccoon"}}