File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ function addManifest (options) {
34
34
name : process . env . npm_package_name ,
35
35
short_name : process . env . npm_package_name ,
36
36
description : process . env . npm_package_description ,
37
+ publicPath,
37
38
icons : [ ] ,
38
39
start_url : routerBase + '?standalone=true' ,
39
40
display : 'standalone' ,
@@ -71,7 +72,7 @@ function addManifest (options) {
71
72
72
73
// Add manifest meta
73
74
if ( ! find ( this . options . head . link , 'rel' , 'manifest' ) ) {
74
- this . options . head . link . push ( { rel : 'manifest' , href : fixUrl ( `${ publicPath } /${ manifestFileName } ` ) } )
75
+ this . options . head . link . push ( { rel : 'manifest' , href : fixUrl ( `${ manifest . publicPath } /${ manifestFileName } ` ) } )
75
76
} else {
76
77
console . warn ( 'Manifest meta already provided!' )
77
78
}
You can’t perform that action at this time.
0 commit comments