@@ -1087,7 +1087,7 @@ ${await utils.readFile(path.join(__dirname, '../js/multipage.js'))}
1087
1087
const urlRef =
1088
1088
this . assets . type === 'inline'
1089
1089
? `data:font/${ fontType } ;base64,${ FONT_FILE_CONTENTS . get ( fontFile ) ! . toString ( 'base64' ) } `
1090
- : `./${ fontFile } ` ;
1090
+ : `.. /${ fontFile } ` ;
1091
1091
return `${ indent } src: local(${ displayName } ), local(${ postScriptName } ), url(${ urlRef } ) format('${ fontType } ');` ;
1092
1092
} ,
1093
1093
)
@@ -1112,8 +1112,8 @@ ${await utils.readFile(path.join(__dirname, '../js/multipage.js'))}
1112
1112
: process . cwd ( ) ;
1113
1113
1114
1114
const scriptLocationOnDisk = path . join ( this . assets . directory , 'ecmarkup.js' ) ;
1115
- const styleLocationOnDisk = path . join ( this . assets . directory , 'ecmarkup.css' ) ;
1116
- const printStyleLocationOnDisk = path . join ( this . assets . directory , 'print.css' ) ;
1115
+ const styleLocationOnDisk = path . join ( this . assets . directory , 'css' , ' ecmarkup.css') ;
1116
+ const printStyleLocationOnDisk = path . join ( this . assets . directory , 'css' , ' print.css') ;
1117
1117
1118
1118
this . generatedFiles . set ( scriptLocationOnDisk , jsContents ) ;
1119
1119
this . generatedFiles . set ( styleLocationOnDisk , cssContents ) ;
@@ -1126,7 +1126,7 @@ ${await utils.readFile(path.join(__dirname, '../js/multipage.js'))}
1126
1126
}
1127
1127
for ( const imgFile of IMG_FILES ) {
1128
1128
this . generatedFiles . set (
1129
- path . join ( this . assets . directory , imgFile ) ,
1129
+ path . join ( this . assets . directory , 'img' , imgFile ) ,
1130
1130
IMG_FILE_CONTENTS . get ( imgFile ) ! ,
1131
1131
) ;
1132
1132
}
0 commit comments