From way + wise. Compare also waywitty, waywiser.
way-wise (comparative more way-wise, superlative most way-wise)