Add mapentity to sources in dev mode