File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
internationalization/locales Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -388,7 +388,8 @@ export = {
388
388
"hostedBaseUrl must start with http:// or https://" ,
389
389
useHostedBaseUrlForAbsoluteLinks_requires_hostedBaseUrl :
390
390
"The useHostedBaseUrlForAbsoluteLinks option requires that hostedBaseUrl be set" ,
391
- favicon_must_be_ico_or_svg : "Favicon file must be either a .ico, .png or .svg" ,
391
+ favicon_must_be_ico_or_svg :
392
+ "Favicon file must be either a .ico, .png or .svg" ,
392
393
option_0_must_be_an_object : "The '{0}' option must be a non-array object" ,
393
394
option_0_must_be_a_function : "The '{0}' option must be a function" ,
394
395
option_0_must_be_object_with_urls : `{0} must be an object with string labels as keys and URL values` ,
Original file line number Diff line number Diff line change @@ -44,7 +44,10 @@ export class AssetsPlugin extends RendererComponent {
44
44
const dest = join ( event . outputDirectory , "assets" ) ;
45
45
46
46
if ( [ ".ico" , ".png" , ".svg" ] . includes ( extname ( this . favicon ) ) ) {
47
- copySync ( this . favicon , join ( dest , "favicon" + extname ( this . favicon ) ) ) ;
47
+ copySync (
48
+ this . favicon ,
49
+ join ( dest , "favicon" + extname ( this . favicon ) ) ,
50
+ ) ;
48
51
}
49
52
50
53
if ( this . customCss ) {
You can’t perform that action at this time.
0 commit comments