Cannot find SDImageWebPCoder in scope

Error while buiding a Swift UI project:

error build: Cannot find 'SDImageWebPCoder' in scope

The solution is to add the following import:

import SDWebImageWebPCoder

Make sure you have add the SDImageWebPCoder package to make use of that import