Skip to content

Commit 7f435c5

Browse files
committed
lib/output/modifiers/inlineAssets.js: Add inlinePng() modifier
1 parent 59b7100 commit 7f435c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/output/modifiers/inlineAssets.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
var svgToImg = require('./svgToImg');
22
var svgToPng = require('./svgToPng');
3+
var inlinePng = require('./inlinePng');
34
var resolveImages = require('./resolveImages');
45
var fetchRemoteImages = require('./fetchRemoteImages');
56

@@ -20,7 +21,8 @@ function inlineAssets(rootFolder, currentFile) {
2021
.then(fetchRemoteImages.bind(null, rootFolder, currentFile, $))
2122

2223
.then(svgToImg.bind(null, rootFolder, currentFile, $))
23-
.then(svgToPng.bind(null, rootFolder, currentFile, $));
24+
.then(svgToPng.bind(null, rootFolder, currentFile, $))
25+
.then(inlinePng.bind(null, rootFolder, currentFile, $));
2426
};
2527
}
2628

0 commit comments

Comments
 (0)