Precompile the assets.
Change asset settings in production.
Add the asset pipeline back in.
Bundle assets locally.