Fix minified and production builds.
Merge pull request #1155 from rjackson/fix_assetfile

Fix minified and production builds.