Fix Patcher module syntax.
Make assets only precompile in production.