add mimetype to precompile