Skip to content

Commit 119e5a9

Browse files
committed
update assets public path.
1 parent a528d6a commit 119e5a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/webpack.config.prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
output: {
2222
path: PATHS.dist,
2323
filename: '[name].[chunkhash].js',
24-
publicPath: '/'
24+
publicPath: './'
2525
},
2626
optimization: {
2727
runtimeChunk: 'single',
@@ -93,7 +93,7 @@ module.exports = {
9393
html5: true
9494
},
9595
mobile: true,
96-
scripts: ['/static.js']
96+
scripts: ['./static.js']
9797
}),
9898
new CopyWebpackPlugin([
9999
{

0 commit comments

Comments
 (0)