Static GitHub Issues

[1720] how to use the url-loader?

prev: Failed to resolve async component default: ReferenceError: WebSocket is not defined
next: proxy not work in nginx server

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)/
      });
    }
}
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1544">#c1544</a>)</em></sub></div>