mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-25 03:42:30 +00:00
lib/output/modifiers/inlineAssets.js: Add inlinePng() modifier
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
var svgToImg = require('./svgToImg');
|
||||
var svgToPng = require('./svgToPng');
|
||||
var inlinePng = require('./inlinePng');
|
||||
var resolveImages = require('./resolveImages');
|
||||
var fetchRemoteImages = require('./fetchRemoteImages');
|
||||
|
||||
@@ -20,7 +21,8 @@ function inlineAssets(rootFolder, currentFile) {
|
||||
.then(fetchRemoteImages.bind(null, rootFolder, currentFile, $))
|
||||
|
||||
.then(svgToImg.bind(null, rootFolder, currentFile, $))
|
||||
.then(svgToPng.bind(null, rootFolder, currentFile, $));
|
||||
.then(svgToPng.bind(null, rootFolder, currentFile, $))
|
||||
.then(inlinePng.bind(null, rootFolder, currentFile, $));
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user