Because of `onfig.output.publicPath = ''`. solutions? - try `useRelativePath` option: https://github.com/webpack-contrib/file-loader/pull/135 - ~~replace all `href=/xxx/yyy`to `href=xxx/yyy` after build~~ not work - https://bitbucket.org/adriancmiranda/pr-file-loader/src/923d519adc4ef70c0761a0f2034f53954e9e6519/webpack.config.js?at=master&fileviewer=file-view-default