This fixes an issue where url-loader cannot be resolved when using
strict package managers such as pnpm or yarn pnp:
Module not found: Can't resolve 'url-loader' in '/path/to/project'
Most users don't notice this because npm and yarn by default hoist
transitive dependencies to the root, so url-loader can be resolved from
the app's webpack config:
This fixes an issue where url-loader cannot be resolved when using strict package managers such as pnpm or yarn pnp:
Most users don't notice this because npm and yarn by default hoist transitive dependencies to the root, so url-loader can be resolved from the app's webpack config:
However, more strict package managers do not perform hoisting:
So 'url-loader' cannot be resolved from the root.