It would be better to strip the leading and trailing `/` of `options.publicUrl` in `applyDefaultsAndNormalize()`.

That way, it doesn't need to be done for every `url()` occurrence and the rest of the code that deals with `options.publicUrl` doesn't have to worry about whether there are or aren't leading and trailing `/`.