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

Description
The value of limit in the configuration cannot be set to 0 or anything that appears to be false will go as default,so when we don't need base64 encoding, we usually set the limit value to 0 and it won't work,We can only set the limit to a number if it is true。Can you change the source code so that 0 is also a value that can be set to work。
Code
code:
{
test: /.(png|jpe?g|gif|svg)(?.*)?$/,
loader: 'url-loader',
options: {
limit: 1,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
}
}