{"action":"created","issue":{"url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/6","labels_url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/6/comments","events_url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/6/events","html_url":"https://github.com/jedwards1211/meteor-webpack-react/issues/6","id":99817764,"number":6,"title":"Should production mode should use meteor --production flag?","user":{"login":"AdamBrodzinski","id":1445367,"avatar_url":"https://avatars.githubusercontent.com/u/1445367?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamBrodzinski","html_url":"https://github.com/AdamBrodzinski","followers_url":"https://api.github.com/users/AdamBrodzinski/followers","following_url":"https://api.github.com/users/AdamBrodzinski/following{/other_user}","gists_url":"https://api.github.com/users/AdamBrodzinski/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamBrodzinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamBrodzinski/subscriptions","organizations_url":"https://api.github.com/users/AdamBrodzinski/orgs","repos_url":"https://api.github.com/users/AdamBrodzinski/repos","events_url":"https://api.github.com/users/AdamBrodzinski/events{/privacy}","received_events_url":"https://api.github.com/users/AdamBrodzinski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-08T17:03:21Z","updated_at":"2015-08-08T20:43:27Z","closed_at":null,"body":"I was expecting `npm run prod` to also run Meteor in it's production mode. Is this something that should happen? Or is it beneficial for Meteor to be in dev mode but webpack not? I also wasn't sure if it was just for the React dev/prod or if it's a webpack thing (still learning that lol).\r\n\r\nI can submit a PR if this is a wanted thing. It seems to work ok on my build."},"comment":{"url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/comments/129043424","html_url":"https://github.com/jedwards1211/meteor-webpack-react/issues/6#issuecomment-129043424","issue_url":"https://api.github.com/repos/jedwards1211/meteor-webpack-react/issues/6","id":129043424,"user":{"login":"AdamBrodzinski","id":1445367,"avatar_url":"https://avatars.githubusercontent.com/u/1445367?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamBrodzinski","html_url":"https://github.com/AdamBrodzinski","followers_url":"https://api.github.com/users/AdamBrodzinski/followers","following_url":"https://api.github.com/users/AdamBrodzinski/following{/other_user}","gists_url":"https://api.github.com/users/AdamBrodzinski/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamBrodzinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamBrodzinski/subscriptions","organizations_url":"https://api.github.com/users/AdamBrodzinski/orgs","repos_url":"https://api.github.com/users/AdamBrodzinski/repos","events_url":"https://api.github.com/users/AdamBrodzinski/events{/privacy}","received_events_url":"https://api.github.com/users/AdamBrodzinski/received_events","type":"User","site_admin":false},"created_at":"2015-08-08T20:43:27Z","updated_at":"2015-08-08T20:43:27Z","body":"Ah, so basically it will bundle all of the files into a single js file, mimicking what the production build would be without actually building the tarball. Also certain packages that are dev only (Velocity, Meteor toys, etc..) will not be built or useable. \r\n\r\nthe line i'm using is:\r\n` \"prod\": \"(webpack & cd ../meteor && (mv .prod prod || true) && meteor --production &) | cat\",`"}}