{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/7466","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/7466/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/7466/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/7466/events","html_url":"https://github.com/meteor/meteor/issues/7466","id":167213883,"number":7466,"title":"build tool optimization: reducing source map files","user":{"login":"c9s","id":50894,"avatar_url":"https://avatars.githubusercontent.com/u/50894?v=3","gravatar_id":"","url":"https://api.github.com/users/c9s","html_url":"https://github.com/c9s","followers_url":"https://api.github.com/users/c9s/followers","following_url":"https://api.github.com/users/c9s/following{/other_user}","gists_url":"https://api.github.com/users/c9s/gists{/gist_id}","starred_url":"https://api.github.com/users/c9s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c9s/subscriptions","organizations_url":"https://api.github.com/users/c9s/orgs","repos_url":"https://api.github.com/users/c9s/repos","events_url":"https://api.github.com/users/c9s/events{/privacy}","received_events_url":"https://api.github.com/users/c9s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-24T02:48:04Z","updated_at":"2016-07-24T05:35:41Z","closed_at":null,"body":"This is related to  #6058\r\n\r\nthe source map processing is really slow, because it requires the bundler to process each line of the code and split the symbol into symbol trees.\r\n\r\nmy question is, do we really need source map files for all server side code?\r\n\r\nIf you use `find APP/.meteor -type f -iname \"*.map`, you will find there are so many backend side files with .map files. (like 300+ files)\r\n\r\nand some files are especially really large (I can see 228065+ words in one file), for example:\r\n\r\n```\r\n.meteor/local/isopacks/templating/plugin.compileTemplatesBatch.os/packages/babel-compiler.js.map\r\n.meteor/local/isopacks/templating/plugin.compileTemplatesBatch.os/packages/babel-runtime.js.map\r\n.meteor/local/isopacks/templating/plugin.compileTemplatesBatch.os/packages/blaze-tools.js.map\r\n.meteor/local/isopacks/templating/plugin.compileTemplatesBatch.os/packages/caching-compiler.js.map\r\n.meteor/local/isopacks/templating/plugin.compileTemplatesBatch.os/packages/caching-html-compiler.js.map\r\n.meteor/local/isopacks/templating/plugin.compileTemplatesBatch.os/packages/compileTemplatesBatch_plugin.js.map\r\n.meteor/local/isopacks/templating/plugin.compileTemplatesBatch.os/packages/ecmascript-runtime.js.map\r\n.meteor/local/isopacks/templating/plugin.compileTemplatesBatch.os/packages/ecmascript.js.map\r\n```\r\n\r\nI think we need some option or environment variable to turn the server side source map off,\r\nwhat do you think?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/234758942","html_url":"https://github.com/meteor/meteor/issues/7466#issuecomment-234758942","issue_url":"https://api.github.com/repos/meteor/meteor/issues/7466","id":234758942,"user":{"login":"laosb","id":2545261,"avatar_url":"https://avatars.githubusercontent.com/u/2545261?v=3","gravatar_id":"","url":"https://api.github.com/users/laosb","html_url":"https://github.com/laosb","followers_url":"https://api.github.com/users/laosb/followers","following_url":"https://api.github.com/users/laosb/following{/other_user}","gists_url":"https://api.github.com/users/laosb/gists{/gist_id}","starred_url":"https://api.github.com/users/laosb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laosb/subscriptions","organizations_url":"https://api.github.com/users/laosb/orgs","repos_url":"https://api.github.com/users/laosb/repos","events_url":"https://api.github.com/users/laosb/events{/privacy}","received_events_url":"https://api.github.com/users/laosb/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T05:35:41Z","updated_at":"2016-07-24T05:35:41Z","body":"I guess generating these files was done before building your app. They were generated when the package was built?"}}
{"actor":{"display_login":"laosb"}}