Resolves and writes to output directory a file containing dependencies for entries
The module helps with entries' chunks dependencies resolving by creating the file per each entrypoint with all related chunks till the entry itself.
Here is an example of the webpack console build output:
The plugin will generate the file for each entry with the following content:
vendors~one~three-6bcb772c264febce0b60.js
one.js
two.js
vendors~one~three-6bcb772c264febce0b60.js
three.js
There is an options
parameter which has the following shape:
string
Defines the name of the resulting file which should contain [entryname]
placeholder.
Default is [entryname].txt
.
boolean
If true
specified the resulting file will contain generated scrip tag with all files to be inserted in html.
If false
the file will contain only files.
Default is true
.
string
Defines the script tag path prefix to which the file of a chunk/entry will be appended.
Default is empty string.