You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asset-pack seems to be causing more problems than it is worth. I've received 4 reports already from people that are having trouble getting the app to work because of Javascript Runtimes.
Ultimately I think there are too many moving parts - maybe we can just concatenate the JS/CSS files and not worry about compression. #112#117#45
Well the big problem is that people on Ubuntu seem to have to install Node.js - which seems silly just to save a few bytes compressing the javascript. One thing to try is to switch to JSMin - even though it has big warnings to not use it, I don't think it needs a JS runtime to work.
Activity
petersonfs commentedon May 16, 2013
If the problem exist we can reproduce and fix, what do you think?
swanson commentedon May 16, 2013
Well the big problem is that people on Ubuntu seem to have to install Node.js - which seems silly just to save a few bytes compressing the javascript. One thing to try is to switch to JSMin - even though it has big warnings to not use it, I don't think it needs a JS runtime to work.
petersonfs commentedon May 16, 2013
Maybe we can change the compressor? I use the uglify because i never had problem with that. But the assetpack provide another choices like:
Let's try to use another?
swanson commentedon May 16, 2013
Closure -> I think this calls a web API, not ideal.
YUI -> needs Java installed
I'd say let's give jsmin a try.
petersonfs commentedon May 16, 2013
I'll fix it and make a pr.
On Thursday, May 16, 2013, matt swanson wrote:
Peterson Ferreira