File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ const paths = {
33
33
client : {
34
34
assets : `${ clientPath } /assets/**/*` ,
35
35
images : `${ clientPath } /assets/images/**/*` ,
36
+ revManifest : `${ clientPath } /assets/rev-manifest.json` ,
36
37
scripts : [
37
38
`${ clientPath } /**/!(*.spec|*.mock).<%= scriptExt %>` ,
38
39
`!${ clientPath } /bower_components/**/*` < % if ( filters . ts ) { % > ,
@@ -564,7 +565,7 @@ gulp.task('build:images', () => {
564
565
} ) )
565
566
. pipe ( plugins . rev ( ) )
566
567
. 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 } ` , {
568
569
base : `${ paths . dist } /${ clientPath } /assets` ,
569
570
merge : true
570
571
} ) )
@@ -573,7 +574,7 @@ gulp.task('build:images', () => {
573
574
574
575
gulp . task ( 'revReplaceWebpack' , function ( ) {
575
576
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 } ` ) } ) )
577
578
. pipe ( gulp . dest ( 'dist/client' ) ) ;
578
579
} ) ;
579
580
You can’t perform that action at this time.
0 commit comments