We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4567041 commit 6969bb9Copy full SHA for 6969bb9
lib/generators/ebook.js
@@ -63,7 +63,7 @@ Generator.prototype.getPDFTemplate = function(id) {
63
64
// Custom PDF style
65
if (this.styles.pdf) {
66
- stylesheets.push(fs.readFileSync(this.book.resolve(this.styles.pdf), { encoding: 'utf-8' }));
+ stylesheets.push(fs.readFileSync(this.book.resolveOutput(this.styles.pdf), { encoding: 'utf-8' }));
67
}
68
69
tpl = juice(tpl, {
0 commit comments