Skip to content

Commit

Permalink
Merge pull request webpack#3 from gawkermedia/add-tooltips-to-chunks-…
Browse files Browse the repository at this point in the history
…in-chunk-view-modules

add tooltips to easily see which chunks a module belongs to
  • Loading branch information
casey-speer committed Oct 22, 2015
2 parents 412dd96 + 0494277 commit cbe201c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/pages/chunk/chunk.jade
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
td= require("../../formatSize")(module.recursiveSize)
td
each chunk in module.chunks
a.btn.btn-info(href="#chunk/#{chunk}")= chunk
a.btn.btn-info(href="#chunk/#{chunk}", title="#{mapChunks[chunk].names.join(',')}")= chunk
= " "
td
if module.built
Expand Down
3 changes: 2 additions & 1 deletion app/pages/chunk/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ module.exports = function(id) {
$(".page").html(require("./chunk.jade")({
stats: app.stats,
id: id,
chunk: app.mapChunks[id]
chunk: app.mapChunks[id],
mapChunks: app.mapChunks
}));
modulesGraph.show();
modulesGraph.setActiveChunk(id);
Expand Down

0 comments on commit cbe201c

Please sign in to comment.