Skip to content

Commit 5fea74d

Browse files
committed
Remove method from utils
1 parent 80bfbd5 commit 5fea74d

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

lib/utils.js

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,12 @@ function waitAllFulfilled (promises) {
4242
}));
4343
}
4444

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-
5845
module.exports = {
5946
isUrl: isUrl,
6047
getUrl: getUrl,
6148
getUnixPath: getUnixPath,
6249
getRelativePath: getRelativePath,
6350
getFilenameFromUrl: getFilenameFromUrl,
6451
getHashFromUrl: getHashFromUrl,
65-
waitAllFulfilled: waitAllFulfilled,
66-
createOutputObject: createOutputObject
52+
waitAllFulfilled: waitAllFulfilled
6753
};

0 commit comments

Comments
 (0)