how to use the url-loader?
[issue link]I don’t want the name of picture include hash data,I do need the original picture name.
now:/_nuxt/img/logo.0302b2a.png
need:/_nuxt/img/logo.png
Can you tell me how to deal with the issue?
I am invalidating this file with the following code in the file of nux. confug.js
build: {
extend (config, { isClient }) {
config.module.rules.push({
test: /\.(png|jpe?g|gif|svg)$/,
use: [
{
loader: 'url-loader',
options: {
limit: 100000,
}
}
],
exclude: /(node_modules)/
});
}
}