Restrict assets loader to dev