Skip to content

Commit 0de4d7e

Browse files
authored
Merge pull request #1040 from tstirrat15/patch-2
Add a section on naming
2 parents de47803 + 53436b1 commit 0de4d7e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/configuration/entry-context.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ entry: {
4141
}
4242
```
4343

44-
Dynamically entry.
44+
### Naming
45+
If a string or array of strings is passed, the chunk is named `main`. If an object is passed, each key is the name of a chunk, and the value describes the entrypoint for the chunk.
46+
47+
### Dynamic entry
4548

4649
```js
4750
entry: () => './demo'

0 commit comments

Comments
 (0)