File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,9 +90,9 @@ module.exports.fileLoader = function(publicPath) {
9090 let assetsAbsolutePath = path . join ( path . dirname ( __dirname ) , 'src' , 'assets' ) ;
9191 if ( f . startsWith ( assetsAbsolutePath ) ) {
9292 let dirNameInsideAssets = path . relative ( assetsAbsolutePath , path . dirname ( f ) ) ;
93- return `${ dirNameInsideAssets } /[name].[ext]?[sha512:hash:base64 :6]` ;
93+ return `${ dirNameInsideAssets } /[name].[ext]?[contenthash :6]` ;
9494 } else if ( / \. ( w o f f 2 | w o f f | e o t | t t f ) $ / . test ( f ) ) {
95- return `fonts/node_modules/[name].[ext]?[sha512:hash:base64 :6]` ;
95+ return `fonts/node_modules/[name].[ext]?[contenthash :6]` ;
9696 } else {
9797 // throw error as we don't support images yet, what if there are 2 images with the same name
9898 throw Error ( 'Unexpected image inside of node_modules' )
You can’t perform that action at this time.
0 commit comments