diff --git a/config/webpack.common.js b/config/webpack.common.js index 65173a3d..da32d6f1 100644 --- a/config/webpack.common.js +++ b/config/webpack.common.js @@ -62,7 +62,7 @@ const config = { test: /\.jpe?g$|\.gif$|\.ico$|\.png$|\.svg$/, loader: 'file-loader', options: { - name: 'assets/fonts/[name].[hash:8].[ext]', + name: 'assets/images/[name].[hash:8].[ext]', }, }, diff --git a/config/webpack.production.js b/config/webpack.production.js index 1113271b..c93e3516 100644 --- a/config/webpack.production.js +++ b/config/webpack.production.js @@ -16,7 +16,7 @@ const config = { filename: 'assets/js/[name].[chunkhash:8].bundle.js', chunkFilename: 'assets/js/[name].[chunkhash:8].js', path: commonPaths.outputServerPath, - publicPath: `${PUBLIC_URL}` + publicPath: `${PUBLIC_URL}/` }, mode: 'production', optimization: {