This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Description
I think utils/normalizeFallback is not needed and we should revert the logic in src/index.js back to just fallback.call(this, src) since we need to pass all options anyways as it seems e.g
webpack.config.js
{
loader; 'url-loader',
options: {
limit: 1,
name: '',
fallback: 'x-loader',
any: '',
option: '',
you: '',
want: '',
}
}
should be sufficient
Since #139 all options are again passed to the fallback loader (default && custom), so in case I don't misunderstand the logic in utils/normalizeFallback this change basically neglects all extra 'work' we are currently doing there.
Someone please correct me if I'm wrong 😛