Skip to content

v1.3.0

Choose a tag to compare

@smelukov smelukov released this 31 Mar 12:46
· 866 commits to master since this release

Whats new

Open in editor

You can open any bundle file in you favorite editor. Just set the EDITOR variable in your environment then you will may click on any file path withholding shift key to open the file in a chosen editor.

For example: export EDITOR=sublime && webpack -w

For more information about supported editors see open-in-editor documentation.

More details about the modules

Now, Webpack Runtime Analyzer has a new page that displays more useful details about the modules.

In the text input, you can choose a module or a file which info you want to see. Just start typing module/file name and choose it from the suggestion list.

In the table you can see some modules statistic:

Require

Displays modules are required by chosen module/file.

Occurrences

Displays modules are requiring chosen module/file.

Retained

Displays modules that required by chosen module/file recursively.

For example, we have three modules: foo, bar and baz.

If foo requires bar and bar requires baz then:

  • retained of foo is 2 (bar and baz)
  • retained of bar is 1 (baz)
  • retained of baz is 0

Exclusive

Displays modules are required only by this module/file and by all its dependencies recursively.

For example, we have three modules: foo, bar and baz.

Case 1: If foo requires bar then foo exclusive is 1 because no more modules that require bar.

Case 2: If foo and bar requires baz then:

  • foo exclusive is 0 because bar also requires baz.
  • bar exclusive is 0 because foo also requires baz.

Case 3: If foo requires bar and bar requires baz then:

  • foo exclusive is 2 because no more modules that require bar and baz
  • bar exclusive is 1 because no more modules that require baz

Controls

  • click on a module name to view detail info about the module
  • click on a module name withholding shift-key to open a file that related with this module in your editor

More integration with Atom Editor

If you run Webpack Runtime Analyzer inside Atom Editor then Details page will react to switching of current editing file.

Other changes

  • file map now ignores hide 3rd party modules and display all files of all the modules
  • fixed bug when the plugin is working only in non-watch mode when watchModeOnly is false