Skip to content

Commit 42a153c

Browse files
authored
docs(plugins): update outdated content (webpack#5446)
1 parent b9eb902 commit 42a153c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/plugins/internal-plugins.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ Plugins, which add entry chunks to the compilation.
6060

6161
### EntryPlugin
6262

63-
`EntryPlugin(context, request, chunkName)`
63+
`EntryPlugin(context, entry, options)`
6464

65-
Adds an entry chunk on compilation. The chunk is named `chunkName` and contains only one module (plus dependencies). The module is resolved from `request` in `context` (absolute path).
65+
Adds an entry chunk on compilation. The chunk is named `options.name` and contains only one module (plus dependencies). The module is resolved from `entry` in `context` (absolute path).
6666

6767
### PrefetchPlugin
6868

0 commit comments

Comments
 (0)