I finally signed up for Galaxy and deployed my first app. Everything went great. However, today I noticed that the app is not minified. Looking at meteor deploy --help it says that specifying --debug would not minify. Needless to say I did not deploy with --debug.
How can I make sure/enforce that the meteor command deploys minified?
Most terrible. I was afraid to be the only one with this problem, which really sucks. Also explains why I haven’t heard back on the support ticket I opened with Galaxy.
I think Galaxy does not have an SLA in terms of ticket response times unless you pay extra for support. So it is pretty normal if you don’t hear back from them in a few days, if at all. But again, although “we don’t have an SLA” is their official answer, they are also sometimes surprisingly attentive as well
Yeah, I know. There is another thread about the SLA. I think the plan I am on says 24 hours. I am not really complaining, I would just like to know what is going on and why this is happening. Was hoping that more people would respond to THIS thread confirming that it’s just me who has that problem … or something.
That is probably a good approach. The only reason I haven’t done that is because meteor build works as advertised (I used to host the app myself before migrating it to Galaxy).
I just looked up minification on the meteor guide, and it mentions the standard-minifiers package, which was not part of my project. So I added it, but now the deploy process errors out with
Unexpected token punc «(», expected punc «:»
without a meaningful way to track down WHERE that happens in my code
OK, this doesn’t seem to be a meteor deploy issue after all. A while ago, when I first started to meteor build my project, it would barf the
Unexpected token punc «(», expected punc «:»
error and I was not able to track down where and why, so I must have removed the standard-minifiers package.
Sorry for the white noise. Hope someone can maybe enlighten me how to track down that error, maybe by enabling some debugging so I at least see WHICH file trips up the minifier.
PS: alias uglifyjs=~/.meteor/packages/standard-minifier-js/.1.0.6.c7p8uw++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/bin/uglifyjs