You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
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。
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]')
}
}
The text was updated successfully, but these errors were encountered: