File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ const paths = {
3333 client : {
3434 assets : `${ clientPath } /assets/**/*` ,
3535 images : `${ clientPath } /assets/images/**/*` ,
36+ revManifest : `${ clientPath } /assets/rev-manifest.json` ,
3637 scripts : [
3738 `${ clientPath } /**/!(*.spec|*.mock).<%= scriptExt %>` ,
3839 `!${ clientPath } /bower_components/**/*` < % if ( filters . ts ) { % > ,
@@ -564,7 +565,7 @@ gulp.task('build:images', () => {
564565 } ) )
565566 . pipe ( plugins . rev ( ) )
566567 . pipe ( gulp . dest ( `${ paths . dist } /${ clientPath } /assets/images` ) )
567- . pipe ( plugins . rev . manifest ( `${ paths . dist } /${ clientPath } /assets/rev-manifest.json ` , {
568+ . pipe ( plugins . rev . manifest ( `${ paths . dist } /${ paths . client . revManifest } ` , {
568569 base : `${ paths . dist } /${ clientPath } /assets` ,
569570 merge : true
570571 } ) )
@@ -573,7 +574,7 @@ gulp.task('build:images', () => {
573574
574575gulp . task ( 'revReplaceWebpack' , function ( ) {
575576 return gulp . src ( 'dist/client/app.*.js' )
576- . pipe ( plugins . revReplace ( { manifest : gulp . src ( paths . client . assets . revManifest ) } ) )
577+ . pipe ( plugins . revReplace ( { manifest : gulp . src ( ` ${ paths . dist } / ${ paths . client . revManifest } ` ) } ) )
577578 . pipe ( gulp . dest ( 'dist/client' ) ) ;
578579} ) ;
579580
You can’t perform that action at this time.
0 commit comments