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 80bfbd5 commit 5fea74dCopy full SHA for 5fea74d
lib/utils.js
@@ -42,26 +42,12 @@ function waitAllFulfilled (promises) {
42
}));
43
}
44
45
-function createOutputObject (resource) {
46
- var assets = _(resource.getChildren())
47
- .map(createOutputObject)
48
- .uniq()
49
- .value();
50
-
51
- return {
52
- url: resource.getUrl(),
53
- filename: resource.getFilename(),
54
- assets: assets
55
- };
56
-}
57
58
module.exports = {
59
isUrl: isUrl,
60
getUrl: getUrl,
61
getUnixPath: getUnixPath,
62
getRelativePath: getRelativePath,
63
getFilenameFromUrl: getFilenameFromUrl,
64
getHashFromUrl: getHashFromUrl,
65
- waitAllFulfilled: waitAllFulfilled,
66
- createOutputObject: createOutputObject
+ waitAllFulfilled: waitAllFulfilled
67
};
0 commit comments