Skip to content

Commit cb04bda

Browse files
Fixed bundle issue
1 parent a802e73 commit cb04bda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const config = {
6262
test: /\.jpe?g$|\.gif$|\.ico$|\.png$|\.svg$/,
6363
loader: 'file-loader',
6464
options: {
65-
name: 'assets/fonts/[name].[hash:8].[ext]',
65+
name: 'assets/images/[name].[hash:8].[ext]',
6666
},
6767
},
6868

config/webpack.production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const config = {
1616
filename: 'assets/js/[name].[chunkhash:8].bundle.js',
1717
chunkFilename: 'assets/js/[name].[chunkhash:8].js',
1818
path: commonPaths.outputServerPath,
19-
publicPath: `${PUBLIC_URL}`
19+
publicPath: `${PUBLIC_URL}/`
2020
},
2121
mode: 'production',
2222
optimization: {

0 commit comments

Comments
 (0)