check public file first for css imports