generate a true (minified) packaged app (bug 897156, bug 998819)