{"action":"created","issue":{"url":"https://api.github.com/repos/madskristensen/BundlerMinifier/issues/50","labels_url":"https://api.github.com/repos/madskristensen/BundlerMinifier/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/madskristensen/BundlerMinifier/issues/50/comments","events_url":"https://api.github.com/repos/madskristensen/BundlerMinifier/issues/50/events","html_url":"https://github.com/madskristensen/BundlerMinifier/issues/50","id":105592592,"number":50,"title":"Error in minified .js file","user":{"login":"sdshankins","id":14198739,"avatar_url":"https://avatars.githubusercontent.com/u/14198739?v=3","gravatar_id":"","url":"https://api.github.com/users/sdshankins","html_url":"https://github.com/sdshankins","followers_url":"https://api.github.com/users/sdshankins/followers","following_url":"https://api.github.com/users/sdshankins/following{/other_user}","gists_url":"https://api.github.com/users/sdshankins/gists{/gist_id}","starred_url":"https://api.github.com/users/sdshankins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdshankins/subscriptions","organizations_url":"https://api.github.com/users/sdshankins/orgs","repos_url":"https://api.github.com/users/sdshankins/repos","events_url":"https://api.github.com/users/sdshankins/events{/privacy}","received_events_url":"https://api.github.com/users/sdshankins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-09T13:05:54Z","updated_at":"2015-09-09T16:31:02Z","closed_at":null,"body":"After minifying a javascript file, concatenating several *.min.js files together and referencing the new concatenated javascript file, I receive a script error on the web page (primarily using IE, differs depending on the browser, but consistently errors).  Referencing the minified stand-alone files individually on the webpage does not produce an error however.  I believe I have traced the problem to the fact that the minified file drops the final semicolon, even when present in the original un-minified file.  Adding the semicolon to the minified file and reconcatenating fixes the error.\r\n\r\nYou can recreate this issue by getting, for example, the Bootstrap NuGet package and choosing to minify the bootstrap.js file (with or without modifications).  The original bootstrap.min.js file contains the closing semicolon, but after running \"Minify File\" it will not.\r\n\r\nI have installed version 1.2.77 as mentioned in #47 but with the same results."},"comment":{"url":"https://api.github.com/repos/madskristensen/BundlerMinifier/issues/comments/138964578","html_url":"https://github.com/madskristensen/BundlerMinifier/issues/50#issuecomment-138964578","issue_url":"https://api.github.com/repos/madskristensen/BundlerMinifier/issues/50","id":138964578,"user":{"login":"sdshankins","id":14198739,"avatar_url":"https://avatars.githubusercontent.com/u/14198739?v=3","gravatar_id":"","url":"https://api.github.com/users/sdshankins","html_url":"https://github.com/sdshankins","followers_url":"https://api.github.com/users/sdshankins/followers","following_url":"https://api.github.com/users/sdshankins/following{/other_user}","gists_url":"https://api.github.com/users/sdshankins/gists{/gist_id}","starred_url":"https://api.github.com/users/sdshankins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdshankins/subscriptions","organizations_url":"https://api.github.com/users/sdshankins/orgs","repos_url":"https://api.github.com/users/sdshankins/repos","events_url":"https://api.github.com/users/sdshankins/events{/privacy}","received_events_url":"https://api.github.com/users/sdshankins/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T16:31:02Z","updated_at":"2015-09-09T16:31:02Z","body":"Adding that to the project's bundleconfig.json adds the terminating semicolon to the min file correctly when saving the original script file.  Thanks for the info.  \r\n\r\nIs there any configuration I can change in order to have that setting injected by default when the bundleconfig.json file is first created in the project?  I found the bundleconfig-schema.json file but didn't know where the proper setting should be placed or even if that would be the targeted file."}}